note 51815 deleted from function.header by betz
| From: | betz@php.net | Date: | Tue, 12 Apr 2005 13:51:07 +0000 |
| Subject: | note 51815 deleted from function.header by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87904@lists.php.net to get a copy of this message | ||
Note Submitter: mitesh_hirani at hotmail dot com
----
baktec,
you cannot send header information after you have already sent html information to the browser. If
you remove the <body> & </body> and well as any other html it should work.
Basically header() should be the first thing that is actually sent to the browser otherwise default
header information is sent automatically and it cannot be changed.