Content-Type header
| From: | Christopher Derr | Date: | Wed, 31 May 2000 00:55:12 +0000 |
| Subject: | Content-Type header | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-136@lists.php.net to get a copy of this message | ||
Well, after a longer-than-it-should-have-been bout with PHP3-4
Migration, everything works except one thing...
At the top of all PHP documents...I get the text:
Content-Type:
That's significantly reduced from what it was (X-powered-by PHP4...yadda
yadda yadda) by editing the php.ini file. But for the life of me, I
can't get that last thing to go away. My inkling is that somehow I
managed to download a beta version of 4.0 (used the front page oh
php.net to get the windows binaries so I don't know...) and that this
just occurs in the beta.
So where you can edit most of the stuff out, is in the line beginning
with:
; As of 4.0b4, PHP always outputs a character encoding by default in
; the Content-type: header. To disable sending of the charset, simply
; set it to be empty.
; PHP's built-in default is text/html
default_mimetype =;
default_charset =;
You see that I've set the default types to, well, nothing. I've REMed
them out too, but that just makes the default "Content-type: text/html"
spring up instead.
Thanks for any help...
Chris