Hi, > What is the best way to avoid the "repeated comment/post" > syndrome caused by the user clicking the submit button one > too many times
The canonical way is to attach a token to the form (a random number will usually do) and insert that into the table along with the comment/post, after checking first to make sure that a row containing this token isn't already in the table. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php