Re: Prevention for multiple submissions from the same form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



T K napsal(a):
I've learned that this is possible to make and send a unique id in
hidden input, and check if the id is used before database query is
issued. (PHP Cookbook [O'reilly]).
Why? You should always ensure that only unique data are inserted into database. This is not just about multiple submissions. Visitor can submit form then forgets about that so he goes back and submits the same thing again.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux