Re: Using php to modify a css file
| From: | Michal Migurski | Date: | Sun, 23 May 2004 01:03:10 +0000 |
| Subject: | Re: Using php to modify a css file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186775@lists.php.net to get a copy of this message | ||
> Then I added the following line to my .htaccess file AddType
> application/x-httpd-php .css It works just fine at my hosting company
> but I can't get it to work locally.
Try fetching it with cUrl, or using Mozilla's view-headers feature. Make
sure that the PHP is in fact being parsed, and that the Content-Type
header is correct.
You'd be better off not messing with AddType at all to parse .css files
- it's more important that the content-type be "text/css."
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html