koolgirl Posted July 16, 2006 Share Posted July 16, 2006 Hi allI 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 :) Quote Link to comment https://forums.phpfreaks.com/topic/14752-blocking-the-bots/ Share on other sites More sharing options...
Joe Haley Posted July 16, 2006 Share Posted July 16, 2006 Store the IPs of all people whom have recently submited a contact to you, and block them from doing so again for a day. Quote Link to comment https://forums.phpfreaks.com/topic/14752-blocking-the-bots/#findComment-58874 Share on other sites More sharing options...
GingerRobot Posted July 16, 2006 Share Posted July 16, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/14752-blocking-the-bots/#findComment-58884 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.