Posted: Fri Sep 19, 2008 1:17 pm
Franz - the new code did not perform the required blocking. I uploaded the revised gbook.php last night, but this morning I got a spam from:
79.186.34.193 (aebi193.neoplus.adsl.tpnet.pl) [renesilje@kupamasz.com]
To clarify, and to make sure I haven't made a mistake in your suggestions, the relevant section of my current gbook.php is:
Any clues on why this might not be working?
Russ
P.S. Googling 'kupamasz.com' reveals the extent of the spam on various types of guestbook, including gbook.
79.186.34.193 (aebi193.neoplus.adsl.tpnet.pl) [renesilje@kupamasz.com]
To clarify, and to make sure I haven't made a mistake in your suggestions, the relevant section of my current gbook.php is:
Code: Select all
if($a=='sign') {
$domainname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$topleveldomain = substr($domainname,-22);
if ($topleveldomain == '*.neoplus.adsl.tpnet.pl') {
problem($lang['e01'],0);
}
printSign();
Russ
P.S. Googling 'kupamasz.com' reveals the extent of the spam on various types of guestbook, including gbook.