Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-23 Thread J?rgen Wind
: http://www.php.net/unsub.php full ack, you only have to make sure that zlib.output_compression is off (at least in that folder), if you want IE6 users to be able to read the css content ! -- View this message in context: http://www.nabble.com/php-css-and-.htaccess-tf2308435.html#a6465094

Re: [PHP] php/css and .htaccess

2006-09-22 Thread Richard Lynch
On Wed, September 20, 2006 5:18 pm, 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

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-22 Thread Richard Lynch
On Thu, September 21, 2006 10:37 am, David Giragosian wrote: So with this approach you're able to tailor css styles for specific browsers and their particular implementations of css, rather than employ hacks directly in the css?? That's one possible use. Really, though, once your CSS is

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-22 Thread Richard Lynch
On Thu, September 21, 2006 12:17 pm, tedd wrote: To the gang -- is this something new, or am I getting excited over nothing? I been doing it long time now... You mean everybody doesn't run their CSS through PHP so they can make it do what they want for each page? How odd... :-) -- Like

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread tedd
tedd wrote: 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.

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread David Giragosian
On 9/21/06, tedd [EMAIL PROTECTED] wrote: tedd wrote: 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

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread tedd
At 10:37 AM -0500 9/21/06, David Giragosian wrote: On 9/21/06, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: -snip- Now, this header coupled with the above .htaccess allows php code to be embedded within a css file AND work for all popular browsers, including FireFox/Mozillia. -snip-

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread Eric Butera
On 9/21/06, tedd [EMAIL PROTECTED] wrote: At 10:37 AM -0500 9/21/06, David Giragosian wrote: On 9/21/06, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: -snip- Now, this header coupled with the above .htaccess allows php code to be embedded within a css file AND work for all popular

[PHP] php/css and .htaccess

2006-09-20 Thread tedd
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,

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Christopher Weldon
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

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Jürgen Wind
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

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Google Kreme
On 20 Sep 2006, at 16:18 , tedd wrote: 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? Yep, you need to specify header('Content-Type: text/css') This is because Mozilla/Firefox is, as far as