Re: Can a php script be placed within a stylesheet?
| From: | Timothy J. Luoma | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Can a php script be placed within a stylesheet? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101455@lists.php.net to get a copy of this message | ||
On Mon, 10 Jun 2002, Andrew Brampton wrote:
> Yes you can place one in a style sheet you just need to tell apache (or
> whatever) that .css should be parsed by PHP, this can be done via a
> .htaccess or something similar... Here is a example in a .htaccess file:
>
> AddType application/x-httpd-php .css
But wouldn't that prevent it from being parsed as a CSS file?