RE: [PHP] Header()
| From: | Jean-Arthur Silve | Date: | Thu, 23 Nov 2000 10:53:28 +0000 |
| Subject: | RE: [PHP] Header() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26815@lists.php.net to get a copy of this message | ||
... and beware if you do an "include" before your Header() that there is no spaces or CR/LF before or after the PHP code !
if you want to make a rediretion after headers are sent, try with Javascript document.location...
jean-arthur
At 18:44 22/11/00 +0100, Bruin, Bolke de wrote:
You can't, send your headers BEFORE anything else is submitted to the client and rtfm. Bolke -----Oorspronkelijk bericht----- Van: GMansky [mailto:gmansky@starcafe.com] Verzonden: Wednesday, November 22, 2000 6:37 PM Aan: php-general@lists.php.net Onderwerp: [PHP] Header() I'm getting this particular error when I tried using Header()? Warning: Cannot add header information - headers already sent by (output started at c:\program files\apache group\apache\htdocs\do.php:4) in c:\program files\apache group\apache\htdocs\do.php on line 10 Authorization Required. How do you reset header info? Thanks, George -- 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---------------------------------------------------------------- Le simple fait de passer par la fenetre ne suffit pas a la transformer en porte.