RE: [PHP-DB] Prevention for multiple submissions from the same form

From: Date: Thu, 04 Oct 2007 14:05:43 +0000
Subject: RE: [PHP-DB] Prevention for multiple submissions from the same form
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-44146@lists.php.net to get a copy of this message
after submit direct the user to a different page...or use js and disable the button after the first click bastien> Date: Thu, 4 Oct 2007 20:09:01 +0900> From: tek.katu@gmail.com> To: bastien> php-db@lists.php.net> Subject: [PHP-DB] Prevention for multiple submissions from the same bastien> form> > Hi,> > I have a form with a button, which adds user inputted data into> bastien> database. I've been looking for a way to prevent users from pressing> the same button twice bastien> mistakingly.> > I've learned that this is possible to make and send a unique id in> bastien> hidden input, and check if the id is used before database query is> issued. (PHP Cookbook bastien> [O'reilly]).> > But, is there a way to make this happen without using database? It> bastien> would cool if I could only use HTML/JavaScript/CSS.> > Tek.> > -- > PHP Database bastien> Mailing List (http://www.php.net/)> To unsubscribe, visit: bastien> http://www.php.net/unsub.php> _________________________________________________________________ Express yourself with new emoticons. It’s easy! Try it! http://www.freemessengeremoticons.ca/

« previous php.db (#44146) next »