Re: How would I remove Content-type for a page ?!?!
| From: | Ray Black III | Date: | Tue, 06 Jun 2000 12:25:06 +0000 |
| Subject: | Re: How would I remove Content-type for a page ?!?! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1125@lists.php.net to get a copy of this message | ||
Had the same problem with PHP4.0.0/Apache 1.3.12/Win98 yesterday. You should
re-comment the Dynamic Extensions section of the php.ini file, that is put a
";" at the beginning of the lines. That should take care of things, and you
should see no ill effects from it as db support is now built into PHP
proper.
-r3-
----- Original Message -----
From: Administrator (Phil) <admin@afmaustralia.com.au>
To: <php-general@lists.php.net>
Sent: Monday, June 05, 2000 9:17 PM
Subject: [PHP-GENERAL] How would I remove Content-type for a page ?!?!
> Hi,
>
> I am running the following PHP4 RC2 / Apache 1.3.12 Win32 / NT4 / IE5.
>
> Now I know that I have to do the following:-
>
> X-Powered-By-PHP/4.0RC1 is removed by changing the 'expose php' line in
the
> php.ini file to Off.
>
> However ... I still get "Content-type: text/html" on my pages.
>
> If my entry in PHP.INI is default_mimetype = ""
>
> I still get on the web page "Content-type:"
>
> but if I comment the line like ;default_mimetype = ""
>
> I get on the web page "Content-type: text/html"
>
> So if anyone has any ideas ?
>
> Cheers
>
> Phil Greenway
> IT Manager
> AFM Australia Pty Ltd
>
>
> --
> 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