Jump to content

Archived

This topic is now archived and is closed to further replies.

koolgirl

Blocking The Bots

Recommended Posts


Hi all

I am here again with a small problem and hope this forum will help me like always. Here is my problem for this time:
I have a contact us page on my site. Anybody who want to contact us, can either send email to any of the email addresses displayed at the contact page or can simply fill up the small form and click submit. When the user submits the form, it is stored on an MySQL database. I check the contact form database directly by logging in to MySQL database and no pages are linked to this database for output. The only page that links to the database is this contact page which writes into the database. All works perfect but now I have got a problem. Some bots keep filling the form with links to porn sites and multiple times in a day I have to log in to MySQL just to delete these links.
I know I might have to use a method of verification like in some forms where the visitor have to enter the text in an image Or block the IP range(which I really won't want to do), is there any other simpler way to do this too?
My second question is that as I said before too, no page is linking to this database or table, will it really help somebody to have links to their sites in a database like this? Does the search engine robots crawl those databases too?
Many thanks in advance
:)

Share this post


Link to post
Share on other sites
Store the IPs of all people whom have recently submited a contact to you, and block them from doing so again for a day.

Share this post


Link to post
Share on other sites
I would go for the first idea of using the image, blocking IPs is not usually a good idea. Gast posted an example of this here:
http://www.phpfreaks.com/forums/index.php/topic,100764.msg398112.html#msg398112

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.