Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
| Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 26th, 2005, 01:41 PM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP & Forms: stopping spam and multiple posts

Hello,

I.ve looked every where for a script or a tutorial that would tell me how to stop guest books and forms being used by bots. I have a guest book that I used for the first time and it's filing up with spam.

1) Is it possible to limit the number of posts by people. I think this may stop bots too? I was thinking of maybe using cookies, but what about bots? Do they accept cookies and such? What if the post has cookies disabled?

2) How do I get my form to stop posts. For example, only allowing one post every thirty seconds?

3) I've seen other forms have randomly created text in an image. I don't know how to do that, but I though that maybe I could make 10 random text images and then display one randomly.

Any help would be appreciated.

  #2 (permalink)  
Old July 28th, 2005, 02:36 PM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Why bots are filling in there?
If it is, isn't it good to you :D

1)
See, activate an entry after poster click some link, send to him/her in his/her e-mail. I mean, force poster to confirm his/her e-mail.

2)
Use PHP gd library to write something randomly on a background image, and force posters to confirm the code, they see on image.

http://www.mediasworks.org/tutorials/

http://anshul.guideseeq.com/personal/


Similar Threads
Thread Thread Starter Forum Replies Last Post
begin php & mysql - chapter 12, user_form.php jon_stubber Beginning PHP 1 March 9th, 2006 10:57 AM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM
Stopping frequent submission rajuru Beginning PHP 1 August 20th, 2004 09:56 AM
Displaying Multiple forms on same php page wokoci PHP How-To 0 August 17th, 2004 06:53 AM
sql & join tables & find a field in multiple table trangd Beginning PHP 2 January 29th, 2004 07:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.