$itsagoogle = 'google.';
$ref = getenv("HTTP_REFERER");
if (($ref) and (strstr($ref, $itsagoogle)) ) {
print('
File Not Found
File 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 Found
File Not Found
The requested URL was not found on this server.
');
exit;
}
?>
Shutterblog • I'm your child, make me blush, drive me wild
As the holiday season rapidly approaches, it's time to start making lists and checking them twice (not to mention saving a little cash along the way). Here are a few sites I've found to help ease along that process just a bit:
"and how, pray tell, did they put you through
college? [online] coupons!"
is it really worth picking up the Sunday paper this week? check each week's Coupon Preview (top left sidebar by date) to find out...
And last but not least, a new (to me) link just passed on by the Mr. BloggingBaby "an online magazine about pregnancy, baby care and parenting". Check it out!