note 51845 deleted from function.header by betz

From: Date: Wed, 13 Apr 2005 07:24:38 +0000
Subject: note 51845 deleted from function.header by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87931@lists.php.net to get a copy of this message
Note Submitter: geoff (at) subdata dot net dot au Reason: useless ---- baktec: Please refer to the example above. It states: " Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. " So in the code you have, the <body> tag at the top is causing your problem. It happens because headers have already been sent when the <body> tag goes out (or any other output for that matter) to the browser; you cannot send your own headers once this has happened. Please be sure to read the documentation and especially the user comments below, chances are that somebody has run into your problem before.

« previous php.notes (#87931) next »