Hello Chris, Thursday, February 12, 2004, 5:57:55 PM, you wrote:
CS> Nope. As others have pointed out, your Location header is improperly CS> formed. CS> However, your immediate problem is that, regardless of whether $foo == CS> 'something', you *always* set the Location header to to_previous_page.php. CS> So, even if you set it to to_another_page.php previously, you're CS> overwriting it. CS> Hope that helps. CS> Chris CS> ===== CS> Chris Shiflett - http://shiflett.org/ CS> PHP Security - O'Reilly CS> Coming mid-2004 CS> HTTP Developer's Handbook - Sams CS> http://httphandbook.org/ CS> PHP Community Site CS> http://phpcommunity.org/ --> ok guys ... thanks for your answer .... and my another question --> why the php didnt stop processing after sending the header ? --> because in my logic ... after sending the (redirect) to another --> page .. the process shall be stopped .... and thanks for your --> advise ... I just know that I have to write location: with space --> ... I am get used to do that for almost 1 year :) -- Best regards, adwinwijaya mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php