Christopher Weldon wrote:
>
> tedd wrote:
>> Hi gang:
>>
>> I embedded php code inside css and changed my .htaccess to read --
>>
>> <FilesMatch "\.(htm|html|css)$">
>> SetHandler application/x-httpd-php
>> </FilesMatch>
>>
>> -- so that the css file would be processed and executed by php. The end
>> result was that everything worked and did what I wanted.
>>
>> However, FireFox / Mozillia won't accept a css file if a .htaccess file
>> reads as indicated above.
>>
>> Any ideas as to how to get FireFox to play nice?
>>
>> Thanks in advance for any replies.
>>
>> tedd
>>
>
> That shouldn't be expected. The SetHandler only applies to the Apache
> handler side, as browsers should not be able to read those files
> (.htaccess). So, are you 100% positive that PHP is in fact processing
> the file?
>
> --
> Christopher Weldon, ZCE
> President & CEO
> Cerberus Interactive, Inc.
> [EMAIL PROTECTED]
> 979.739.5874
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
FF needs
header('Content-Type: text/css; charset=ISO-8859-1');
in css files.
--
View this message in context:
http://www.nabble.com/php-css-and-.htaccess-tf2308435.html#a6418835
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php