Re: do i need to output headers on parsed CSS files?
| From: | Chris Shiflett | Date: | Thu, 24 Jul 2003 03:50:58 +0000 |
| Subject: | Re: do i need to output headers on parsed CSS files? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156587@lists.php.net to get a copy of this message | ||
--- Justin French <justin@indent.com.au> wrote:
> So, my assumption is that pushing the .css file through PHP is
> putting the wrong header on the file (text/html) rather than
> text/css
Yeah, that's a very good guess. You should be able to do something like this to
specify the content type yourself:
header('Content-Type: text/css');
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/