$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 :: Beauty's where you find it
|
|
Beauty's where you find it
Summer temps are back this week with a vengeance. So much for our temporary fall last week... For the first day of autumn tomorrow, our high will be in the low 90s.
While everyone else in the country watches the leaves turn with anticipation, it looks more like a lush tropical wonderland around these parts. I guess I'll just have to recreate fall like I always do -- thanks to the fine folks at Yankee Candle.
posted on 09.22.2003 @ 1:42 PM :: mail a comment
next entry :: all :: home :: previous entry
|
|
|