Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
How to reduce Spam on my Guestbook
Old 09-01-2012, 12:06 PM How to reduce Spam on my Guestbook
Skilled Talker

Posts: 90
Name: Farlando Diengdoh
Location: India
Trades: 0
I created a Guestbook using PHP & MySQL on my website fdiengdoh.com from scratch but after about a few months my site got lots of useless spam post. So, first I manually deleted the post. This process become tiresome so I googled for spam checker and stumbled upon reCAPTCHA, its a free service, so I implemented that. I got quite a reduced numbers of spam after that.

But nowadays, even after implementing reCAPTCHA also I still get lots of spam. It seem now people are spending time online to just post useless stuff on other site. Then I changed my Guestbook into a moderated Guestbook, so every post is moderated before they appear online. Its better, but I still get like 100 spam post per week.

Is there a way where I can check if the post contain 2 or more url link, then I should reject it right away. can someone show me a way to do that.
__________________
bahlung |
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bahlung is offline
Reply With Quote
View Public Profile Visit bahlung's homepage!
 
 
Register now for full access!
Old 09-01-2012, 02:08 PM Re: How to reduce Spam on my Guestbook
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
A: don't call it guestbook

B: Why the hell do you have a "guestbook" they died out in 1995!!!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-01-2012, 11:32 PM Re: How to reduce Spam on my Guestbook
vultren's Avatar
Super Spam Talker

Posts: 790
Name: Tony
Location: Seattle Washington
Trades: 1
Ah I remember the days of guestbooks... haven't seen one of those in YEARS!
__________________

Please login or register to view this content. Registration is FREE

"Do or do not, there is no try"
vultren is offline
Reply With Quote
View Public Profile
 
Old 09-02-2012, 12:50 AM Re: How to reduce Spam on my Guestbook
SamuraiTrader's Avatar
Novice Talker

Posts: 7
Location: Vancouver, BC
Trades: 0
Quote:
Originally Posted by chrishirst View Post

B: Why the hell do you have a "guestbook" they died out in 1995!!!!
This made me lol.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
SamuraiTrader is offline
Reply With Quote
View Public Profile Visit SamuraiTrader's homepage!
 
Old 09-02-2012, 03:00 AM Re: How to reduce Spam on my Guestbook
NullPointer's Avatar
Will Code for Food

Posts: 2,883
Name: Matt
Location: Irvine, CA
Trades: 0
The quick and dirty way would be to just count the number of instances of the string 'http://' and 'https://' (or you could just count ://)

http://php.net/manual/en/function.substr-count.php


Now that that is settled, can someone tell me how to setup a hit counter on my geocities page? Also, I'm trying to find a dancing Jesus gif but alta vista seems to be down.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is offline
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 09-02-2012, 08:15 AM Re: How to reduce Spam on my Guestbook
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I've got a rotating 'e' in a delightful shade of blue that I no longer need,

Genuine mileage, one careful owner.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-03-2012, 10:52 AM Re: How to reduce Spam on my Guestbook
Skilled Talker

Posts: 90
Name: Farlando Diengdoh
Location: India
Trades: 0
Quote:
B: Why the hell do you have a "guestbook" they died out in 1995!!!!
Yea, that's coz its the first PHP program that I wrote from scratch just after learning PHP, so kinda attached to me. I do have a different site with comments System created by me from scratch.

Well since underneath they (Gbook/comment) are still the same, i.e. I took the input from form and then populate the database and display those data in form of comments/guestbook. Well both suffer the same spam problems.

Quote:
The quick and dirty way would be to just count the number of instances of the string 'http://' and 'https://' (or you could just count ://)
Thanks for the link, I'm not so expert in PHP, I've learned many things but still lots to be learned.
__________________
bahlung |
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bahlung is offline
Reply With Quote
View Public Profile Visit bahlung's homepage!
 
Reply     « Reply to How to reduce Spam on my Guestbook
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27436 seconds with 11 queries