Re: [PHP] Warning with Header("Location: test.php")

2002-11-25 Thread Björn Schotte
Hi, * [EMAIL PROTECTED] wrote: > Warning: Cannot add header information - headers already sent by (output > started at /var/www/html/test.php:5) in /var/www/html/test.php on line 15 You see that the output began on /var/www/html/test.php on line 5. It may be a char or even a whitespace. Normally

RE: [PHP] Warning with Header("Location: test.php")

2002-11-25 Thread John W. Holmes
> I have user Header("Location: test.php") in a php file. It is not working, > instead I have got a warning of the form > > Warning: Cannot add header information - headers already sent by (output > started at /var/www/html/test.php:5) in /var/www/html/test.php on line 15 header() must come befor

RE: [PHP] Warning with Header("Location: test.php")

2002-11-25 Thread Peter Houchin
your header command must go before any other out put to the page .. eg boo etc > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 26 November 2002 3:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Warning with Header(&quo

[PHP] Warning with Header("Location: test.php")

2002-11-25 Thread Padmini . Dey
I have user Header("Location: test.php") in a php file. It is not working, instead I have got a warning of the form Warning: Cannot add header information - headers already sent by (output started at /var/www/html/test.php:5) in /var/www/html/test.php on line 15 Here line 15 contains the Header (