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
))
{
### process form ###
}
else
header(Location: add.php);
-Original Message-
From: WISTA.pl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 3:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] F5 problem...
Hello group,
I need a good solution to prevent sending form
The best way to do this is with an HTTP header called Location.
It is used like this. If page1.php contains a form that submits to
page2.php, you will want to handle the form data with page2.php, and
when you're finished, have a line that looks like this:
header(Location:
3 matches
Mail list logo