Click to See Complete Forum and Search --> : Content-type
I have a little problem with php4 under apache 1.3.12 on win2000 pro...
Php4 return the content type at the start of all my pages even if I have disabled it in php.ini
Beyond this , php is slow, it uses about 8 , 10 seconds to return my page
What's the problem ???
Hi,
I've had the very same problem. I've set this in my php.ini:
default_charset =
default_mimetype =
(so I left those 2 both empty). As of version 4.0b4, php always outputs the content type headers, and they say to leave those two settings empty to get rid of it.
Strangly enough; that didn't work for me. I finally gave up and closed down for the day. When I restarted everything, voila the content headers where gone...
So make sure those are empty and all other settings are what they should be, then restart everything and it should work fine.
At least; it worked for me.
i had the same problem and it still generate the contype-type at the top of my document.
if someone can help me....
I resolved this problem in this way.
My error was that I installed php4 over the previous installation of php3, and when I've set this is my php.ini
default_charset =
default_mimetype =
it didn't worked, the content-type was present again at the top of my pages, even after rebooting.
But when I've installed php4 in another folder it finally worked
(sorry for my bad english :) )
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.