> ID: 13748 > Updated by: mfischer > Reported By: [EMAIL PROTECTED] > Old Status: Open > Status: Bogus > Bug Type: Program Execution > Operating System: Windows 2000 SP2 w/IIS5.0 > PHP Version: 4.0.6 > New Comment: > > Submitted twice -> bogus. > > - Markus > > Whats up today guys? Did you all forgot that reloading the page also submits form data again?
Why isn't php.net redirecting after a POST? That's a common solution, and also makes sure you can have a logic-only php script, since you're redirecting to a page-with-layout. By means of a get var (or coockies) you can pass on the submission result, i.e. succesfull or not. This way you effectively prevent multiple postings. --Jeroen -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]