$itsagoogle = 'google.';
$ref = getenv("HTTP_REFERER");
if (($ref) and (strstr($ref, $itsagoogle)) ) {
print('
File Not FoundFile Not Found
The requested URL was not found on this server.');
exit;
}
function isBadReferrer($ref)
{
if (
(strstr($ref, "google.")) or
(strstr($ref, "aolsearch.aol.com")) or
(strstr($ref, "search.yahoo.com")) or
(strstr($ref, "search.msn.com")) or
(strstr($ref, "hotbot.com"))
//add more like the above line to add more "rejected" referrals
)
{
return true;
}
else
{
return false;
}
}
$ref = getenv("HTTP_REFERER");
if (($ref) and (isBadReferrer($ref) )) {
print('
File Not FoundFile Not Found
The requested URL was not found on this server.
');
exit;
}
?>
Shutterblog :: Shake, rattle and roll
|
|
Shake, rattle and roll
I celebrated my 31st birthday this past Friday, and my husband surprised me with one of the best gifts ever. A little blue box from Tiffany. Inside? A silver baby rattle for our son. You pretty much know a child's life is going to start off right when they get something from Tiffany & Co. before they're even born. I can't believe for my next birthday, I'll finally be a mom!
posted on 11.30.2003 @ 7:25 PM :: mail a comment
next entry :: all :: home :: previous entry
|
|
|