Re: Bug #13748 Updated: Exec() and System() broken
| From: | Jeroen van Wolffelaar | Date: | Fri, 19 Oct 2001 22:36:03 +0000 |
| Subject: | Re: Bug #13748 Updated: Exec() and System() broken | ||
| References: | 1 2 | Groups: | php.dev php.mirrors |
| Request: | Send a blank email to php-dev+get-68459@lists.php.net to get a copy of this message | ||
> ID: 13748
> Updated by: mfischer
> Reported By: regturais@hotmail.com
> 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