Re: Posting behavior??
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Posting behavior??

From: Ken Robinson <kenrbnsn@rbnsn.com>
Date: Thu Jul 21 2005 - 06:09:46 CEST

Shelly wrote:
> I am a little puzzled by the sequence of events. Please help me out.
>
> I have page a.php. There is a button of type "submit" and name
> "submit". I do an
>
> if (isset($_POST['submit'])) {....}
>
> I enter the braces. Inside the braces I have a
>
> header("Location: b.php");
>
> Now here is the thing. What happens is that the a.php seems to get
> reexecuted, and since it now fails on a fopen in a.php, the thing never gets

Can you post your code or enough of the code so we can see the problem.
Without seeing the program flow, it is hard to determine where the
problem lies.

Ken
Received on Mon Oct 17 21:13:23 2005