I doubt this is the problem, but perhaps your webserver is messing with your mime-types by printing a default header for some reason.
Carl Furst Chief Technical Officer Vote.com 50 Water St. South Norwalk, CT. 06854 203-854-9912 x.231 -----Original Message----- From: Brian V Bonini [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 1:36 PM To: Pete Morganic Cc: PHP Lists Subject: Re: [PHP] Re: mime type On Fri, 2003-06-27 at 13:26, Pete Morganic wrote: > chech here > http://www.phpfreaks.com/mimetypes.php > > and in php add the folowing header > > header ("Content-type: model/vrml"); As I had already stated I tried using header() and ini_set(), e.g., header("Content-type: text/css") or ini_set('default_mimetype','text/css') But, it's not working, I'm still getting text/html as the default for *.php files as it should be according to php.ini but I need to override that for this one file and output text/css. Am I wrong in assuming either of these functions should override the global configs? > > > Brian V Bonini wrote: > > I want to get php to output text/css for one .php file. I tried using > > header() and ini_set () but seems no matter what I do the Content-type > > remains text/html > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php