Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #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


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.

Reply With Quote
  #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

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

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.

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


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 01:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.