Archive for November, 2007

Disable Search Engine Indexing

This item was filled under [ SEO/Adsense ]

Search engines use web crawler (spider/robot) which browses WWW in an automated manner to provide up-to-date data. But what if one doesn’t want to get listed? Yes, “robots.txt” comes into play when you have to set your own trend whether to allow bots or prevent your site from being crawled!
Place robots.txt in your root directory [...]

Continue reading...

Subtract Dates in PHP

This item was filled under [ PHP ]

PHP does not provide functions to calculate difference between two dates. Here is a simple function that does the basic job.
<?php

//date format: yyyy-mm-dd
$date_diff = subtract_dates("2007-11-5", "2007-11-20");
echo $date_diff . " days";

<em>//function to find difference between two dates</em>
function subtract_dates($begin_date, $end_date)
{
return round(((strtotime($end_date) - strtotime($begin_date)) / 86400));
}

?>
It can be further modified to provide difference in minutes or hours. For [...]

Continue reading...

Add Fire to Firefox

This item was filled under [ Uncategorized ]

Within 2 minutes, you can ‘tweak’ your Firefox browser to boost up its speed by almost 40%.
1. Open the Firefox “config” page by typing “about:config” in the address bar. The CONFIG file will appear in the browser window.
2. Locate the “network.http.pipelining” and double click on it. This will increase the “pipeline” RAM ability for Firefox [...]

Continue reading...

.Net & .Org Shortcuts

This item was filled under [ Uncategorized ]

Just like hitting CTRL+ENTER in the browser shoots ‘www.___.com’, similarly, SHIFT+ENTER leads to “.net” and CTRL+SHIFT+ENTER brings up “.org”! (works with Firefox only)

Continue reading...

Tagged with: [ , , ]

See Who’s Editing Wikipedia

This item was filled under [ Uncategorized ]

Are you a fan of Wikipedia? Not sure to trust the information? Yes, Wikipedia allows users all across the world to edit the information but it does not mean that they are not keeping records of all the changes. Wikipedia has a tool ‘WikiScanner’ that maintains all the edits! As described by Wikipedia itself:
“WikiScanner is [...]

Continue reading...

Tagged with: [ , ]