Submit your website to various websites and directories easily and automatically for free

While searching on internet I came to know about this cool service IMT Website Submitter and IMT Directory Submitter.

IMT Website Submitter submits your website/blog to 2500+ different places. All these 2500+ websites are manly “who is”, “about us”, “website statistic”, etc. type of services.

This script creates pages about your website/blog on every one of these websites, resulting in about 2500+ different pages with backlinks pointing back to your website. Yes some of them are no-follow and some of them are do-follow, but bottom line is that these are well established websites regularly crawled by Google and other SE, so your pages and backlinks on those websites will be found and your website/blog will get backlinks and will be visited and indexed more frequently by Googlebot and many other search engine bots like Yahoo, Bing, Baidu, etc.

Setting Cron Jobs from SSH

First of all get PuTTY/KiTTY – a SSH and telnet client which offers secure data exchange between two connected devices.

1. Open PuTTY/KiTTY

2. Enter the IP Address and Port name of host server.

putty-login

3. Login with username and password.

login as: root
root@xxx.xxx.xxx.xx's password:
Last login: Sun Dec 13 06:28:52 2010 from xx.xxx.xxx.xxx.srvlist.ukfast.net
[root@xxx ~]#

[Note: xxx refers to IP Address format]

4. To list crontab (if already there)

[root@xxx ~]# crontab –l
*   *  *   * *  lynx -source http://www.domain.co.uk/cron.php >/dev/null  2>&1

[Note: The file cron.php is running every minute, tested with ukfast.co.uk hosting]

Check the internet connection using PHP function fsockopen

Here is a simple PHP function to check whether a machine is connected to internet or not. It uses a PHP function  fsockopen which initiates a socket connection to the given hostname at the specified port. If the connection is successful it will return true else false.

PHP code:

<?php
//function to check if the local machine has internet connection
function checkConnection()
{
	//Initiates a socket connection to www.itechroom.com at port 80
	$conn = @fsockopen("www.itechroom.com", 80, $errno, $errstr, 30);
	if ($conn)
	{
		$status = "Connection is OK";
		fclose($conn);
	}
	else
	{
		$status = "NO Connection<br/>\n";
		$status .= "$errstr ($errno)";
	}
	return $status;
}
echo checkConnection();
?>

Turn Windows 7 laptop into a Wi-Fi Hotspot

While searching for the software to share the internet available in my laptop, this nice software was found. It is software that acts as a router for computers running Windows 7.

According to its website Connectify.me:
Connectify is a free and easy to use software router for Windows 7 computers. With Connectify, users can wirelessly share any Internet connection: a cable modem, a cellular card, or even another Wi-Fi network. Other Wi-Fi enabled devices including laptops, smart phones, music players, and gaming systems can see and join your Connectify hotspot just like any other Wi-Fi access point and are kept safe and secure by password-protected WPA2 Encryption.

Show popup message for few seconds using jQuery

We have seen checking username availability using jQuery in earlier post. Here is a slight modification on showing of error/success message. The message will be shown as popup and disappears after few seconds. Using this way we can show the message in more fancy way.
The Javascript Code:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
function checkUserName(usercheck)
{
	var uname = document.getElementById('username').value;
	$.post("checkuser.php", {user_name: uname} , function(data)
		{
			   if (data != '' || data != undefined || data != null)
			   {
				  $('#usercheck').show();
				  $('#usercheck').html(data);
				  setTimeout("$('#usercheck').hide(); ", 3000); //display message for 3 seconds
			   }
          });
}
function checkUserLogin(user_id)
{
   if (user_id == '' || user_id == undefined || user_id == null)
   {
	  $('#logincheck').show();
	  $('#logincheck').css('color', '#CC0000');
	  $('#logincheck').html('You must be logged in to submit.');
	  setTimeout("$('#logincheck').hide(); ", 3000); //display message for 3 seconds
   }
   else {
   	  document.frmPopMessage.submit();
   }
}
</script>

The CSS Code:

Showing contents with Read more for news, faq, help topics using jQuery

I have shown with you simple jQuery accordion for displaying News, Faq, Questions & Answers in the previous post. In that example we can show heading and detail would be seen upon clicking each heading.
But here is little different where you can show small portion of the text under each heading and the complete content would be displayed upon clicking the “Read More” button.

The Javascript Code:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript">
function Expand ( id )
{
	jQuery("#news div").each
	(
		function() { jQuery(this).children('p').eq(0).height(35); }
	);
	jQuery("#" + id + " p").hide().height('auto').slideDown('slow');
}
</script>

The CSS used:

Powered by WordPress

Page optimized by WP Minify WordPress Plugin