- Posts: 2
- Thank you received: 0
spam in guestbook
17 years 9 months ago #464
by sm promo
spam in guestbook was created by sm promo
Hello!
The guestbook on a clients website gets inundated with spam (he doesn't want 'image verification' instaled), so every day the spam messages are removed, IP numbers are added to the 'banned' list and certain words are banned. However, recently there has been spam inserted into the 'country of origin' section which is included in this certain guestbook, not the 'message' section. Banned words have been included. Is there any way we can stop this?
Thanks for any help!
Fiona
The guestbook on a clients website gets inundated with spam (he doesn't want 'image verification' instaled), so every day the spam messages are removed, IP numbers are added to the 'banned' list and certain words are banned. However, recently there has been spam inserted into the 'country of origin' section which is included in this certain guestbook, not the 'message' section. Banned words have been included. Is there any way we can stop this?
Thanks for any help!
Fiona
Please Log in or Create an account to join the conversation.
17 years 9 months ago #469
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic spam in guestbook
Hello Fiona,
Open the file "add.php" and find line 138, which should read:
Change that line to the following:
That should do the trick.
Open the file "add.php" and find line 138, which should read:
Code:
$detectSpam = spamDetect($yourmessage);
Change that line to the following:
Code:
$detectSpam = spamDetect($yourmessage);
$detectSpam = spamDetect($yourcountry);
That should do the trick.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
17 years 9 months ago #479
by sm promo
Replied by sm promo on topic spam in guestbook
That's great Pete. Thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.117 seconds