RE: [PHP] F5 problem...

From: Date: Wed, 12 Jun 2002 23:20:19 +0000
Subject: RE: [PHP] F5 problem...
Groups: php.general 
Request: Send a blank email to php-general+get-101832@lists.php.net to get a copy of this message
Create seperate documents: one to display the form and another to process the form. add.php // displays new form add_handler.php // process form input On the form processing, check for the presence of HTTP_POST_VARS before proceeding. if (isset($HTTP_POST_VARS)) { ### process form ### } else header("Location: add.php"); > -----Original Message----- > From: WISTA.pl [mailto:wista@wista.pl] > Sent: Wednesday, June 12, 2002 3:29 PM > To: php-general@lists.php.net > Subject: [PHP] F5 problem... > > > Hello group, > > I need a good solution to prevent sending form data to server > after hiting > refresh. How can PHP know that user hit refresh and sent > data that already > have been stored in database (without querying database)? > > Remek > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > **************************************************************************** This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much.

« previous php.general (#101832) next »