Archive for April, 2008

Firefox: Smart keywords

This item was filled under [ Uncategorized ]

I just came across a very good feature of Firefox. Searching gets way too easier with FF. Suppose you visit IMDB.com alot and you have to search for movies. Right click on the Search box and select “Add a Keyword for this Search…” (sample keyword: ‘imdb’). Now next time you want to search something on [...]

Continue reading...

Google: Keyword Tool

This item was filled under [ SEO/Adsense ]

Try out this tool to maximize your Adwords and/or Adsense performance.
According to Google:
“The Keyword Tool is a great way to find new keywords for your ad campaigns. For example, if you run a budget hotel, the Keyword Tool can suggest helpful related keywords like “hotel discounts” or “motels.” Adding these alternate terms to your ad [...]

Continue reading...

The basics of MySQL Views

This item was filled under [ MySQL ]

Before diving into any technicalities, I would like to share a little about “Views”. What is a VIEW, what is the benefit of it?
A view is a virtual or logical table composed of the result set of a query. Unlike ordinary tables (base tables) in a relational database, a view is not part of the [...]

Continue reading...

Executing PHP script from command line

This item was filled under [ PHP ]

Executing PHP scripts from command line is quite easy. You just need to know the right commands to execute your script. This procedure comes in handy while developing command line scripts.
*NIX OS:
/path/to/php -f /path/to/script.php
Windows OS:
X:\path\to\php.exe -f X:\path\to\script.php
-f parses and executes <file>. For a list of command line parameters, visit:
PHP: Using PHP from the command [...]

Continue reading...

Finding hostname from IP address

This item was filled under [ PHP ]

PHP has couple of network functions that come in handy. One of them is ‘gethostbyaddr‘. It returns the host name of the Internet host specified by ip_address (as defined by PHP.net).
<?php
echo gethostbyaddr("87.248.113.14");
?>
Alternately, you can find it through the ‘ping’ command:
> ping -a <ip>
The ping command will not work in case the firewall is enabled on [...]

Continue reading...

Gmail - Sending limits

This item was filled under [ Uncategorized ]

I had to send an email to couple of contacts but just came to know that Gmail allows only 500 contacts in BCC. Also, in case few emails bounce-back, there is a very big chance that your Gmail account will be blocked for 24-hours because, as they say:
Sending limits
In an effort to fight spam and [...]

Continue reading...