$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 • Tricks or Treats
Tricks or Treats
photograph taken with Canon G3 in historic downtown St. Augustine, FL - on 09.19.2004
It's always bugged me that this design didn't have a sidebar... So now, voila! Sidebar. All together now everyone ooh and ahh. I've also made the main photo a bit larger in this new design so you won't have to get out the magnifying glass. As always, you can click the image for a larger, higher-resolution pop. But what can I say? I likes to give options.