Forum Moderators: coopster

Message Too Old, No Replies

Header problem

         

kkonline

11:28 am on Sep 4, 2007 (gmt 0)

10+ Year Member



Below is the extract of the problem part of the else loop. It gives me a parse error for the header line, the url is send from the previous page and is available as $_POST['url'] in general throughout the processing script.

else
{
header( refresh: 2; url=$_POST['url'] );
echo 'Message has been sent.';

}

phparion

11:30 am on Sep 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



header("refresh: 2; url='".$_POST['url'] . "'");