Re: Validation and session variables

From: Date: Wed, 27 Oct 2004 13:43:19 +0000
Subject: Re: Validation and session variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-200439@lists.php.net to get a copy of this message
--- Chris Shiflett <shiflett@php.net> wrote: > So, the first thing to try is using a proper > Location header: > > header('Location: http://example.org/success.php'); > > Hope that helps. > > Chris > Thank Chris , but met with same behaviour. 2 Questions: 1- Should I drop the $url line ? I tried both ways , no change though. 2- Do I still need to call the SID ? <?php if ($_SERVER["REQUEST_METHOD"] == "POST") { $url = "nextpage.php"; Header ('Location: http://www.mysite.com/nextpage.php); } ?> Stuart

« previous php.general (#200439) next »