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

Reply via email to