Re: [PHP] Problem with $_POST[] and header();

2003-12-02 Thread David Otton
On Tue, 2 Dec 2003 10:26:08 -, you wrote: if(!mysql_query($query)){ $error = Could not complete query; header(Location: file.php?error=$error); exit; } The Location: header requires an absolute URI. See RFC 2616, 14.30 However in file.php I have included $_POST[] variables sent

Re: [PHP] Problem with $_POST[] and header();

2003-12-02 Thread Shaun
it works fine as it is though? David Otton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, 2 Dec 2003 10:26:08 -, you wrote: if(!mysql_query($query)){ $error = Could not complete query; header(Location: file.php?error=$error); exit; } The Location: header