Update alert!
Thanks to some enterprising individuals seeking free advertising, a banning feature has been added to the guestbook.
Available to admins only, clicking the left-most icon removes the offending entry and adds the author's IP address to a banned list.
Furthermore, additions to the guestbook must originate from the guestbook page. I'm rather proud of the software that tests for this. Check it out...
$referrer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : null;
if(preg_replace("/^http://[-.0-9A-Z_a-z]+(.*?)/", "\\1", $referrer) == $_SERVER['PHP_SELF'])
{
...
}
I don't think I've ever seen a domain name with an underscore, but it's there anyway.
Thanks to some enterprising individuals seeking free advertising, a banning feature has been added to the guestbook.
Available to admins only, clicking the left-most icon removes the offending entry and adds the author's IP address to a banned list.
Furthermore, additions to the guestbook must originate from the guestbook page. I'm rather proud of the software that tests for this. Check it out...
$referrer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : null;
if(preg_replace("/^http://[-.0-9A-Z_a-z]+(.*?)/", "\\1", $referrer) == $_SERVER['PHP_SELF'])
{
...
}
I don't think I've ever seen a domain name with an underscore, but it's there anyway.
"Prepare for an oblivion for which there is no preparation." - O'Malley (Red Vs Blue)