note 8695 deleted from function.header by jimw

From: Date: Wed, 31 Oct 2001 21:44:16 +0000
Subject: note 8695 deleted from function.header by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19746@lists.php.net to get a copy of this message
I have tried the following with both php3 and php4: When sending lots of header data, an extra Content-Type: text/html and Connection: close are often sent by php. PHP sends these headers when the content type hasn't been specified. If you don't want the extra headers sent, you must send the Content-Type seperatly from the other headers. i.e.: Header($LotsOfLinesOfHeaderData); Header("Content-Type: $ContentType"); works, but Header($LotsOfLinesOfHeaderDataIncludingContentType); doesn't. Best of luck.

« previous php.notes (#19746) next »