Re: [PHP] PHP Redirect / header(location: )

2001-11-09 Thread Bas Jobsen
Am I doing something wrong? Thank you. You may print nothing before the redirect header! ? echo hello; header(Location: go); exit; #wrong! ? ? ? header(Location: go); exit; echo hello; #oke, but hello isn't print ? ? - Original Message - From: phantom [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] PHP Redirect / header(location: )

2001-11-09 Thread Scott Houseman
Make sure that there is no output from your PHP script - or any HTML code whatsoever - before you call the header function. Cheers Scott - Original Message - From: phantom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 09, 2001 11:01 AM Subject: [PHP] PHP Redirect /