Re: Cant add new Header
| From: | (Miles Thompson) | Date: | Fri, 04 May 2001 22:37:47 +0000 |
| Subject: | Re: Cant add new Header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51483@lists.php.net to get a copy of this message | ||
Right - you can't send anything, even a blank line, before a header. You will have to do some restructuring/rearrangement of your code
Miles
At 11:00 AM 5/4/01 -0700, Andy wrote:
Hello, I am a newi. Currently I try to relocate the viewed page after entering successful a form. I tryed it like that: HEADER("Location:http://$HTTP_HOST/admin/admin.php?content=upload"); But I did get an errormessage which said that I already have sent a header ( which was a body tag). Can anybody please help me in that case?? Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net