Re: [PHP] Using php to modify a css file

2004-05-23 Thread Jednorozec Pokojowiec
On Sun, 23 May 2004 01:19:44 -0400 (EDT), [EMAIL PROTECTED] (Michal Migurski) wrote: >> Without a > not shouldn't make any difference -- but it does. > >It will only make a difference if the HTTP response from the server is >different somehow -- contains junk, wrong headers, that sort of thing. Th

Re: [PHP] Using php to modify a css file

2004-05-22 Thread Michal Migurski
> The reason for the two files is that My4CSS.css contains code that > doesn't break Netscape 4 (people are still using that garbage) and > MyCSS.css is the code that I want for decent browsers. Just doing the > AddType without changing the css files at all breaks things locally. > Without a not

Re: [PHP] Using php to modify a css file

2004-05-22 Thread Jednorozec Pokojowiec
On Sat, 22 May 2004 21:03:10 -0400 (EDT), [EMAIL PROTECTED] (Michal Migurski) wrote: >> 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 usin

Re: [PHP] Using php to modify a css file

2004-05-22 Thread Michal Migurski
> 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

[PHP] Using php to modify a css file

2004-05-22 Thread Jednorozec Pokojowiec
I would like to use the same basic css file for different sites with some things changed for each site. Since I have the same color in a number of locations in the css file, changing all of them with a text editor is getting to be a bit of a pain. So I wrapped the file with Then I added the foll