Re: [PHP] Re: php and CSS level 2

2004-03-21 Thread Michal Migurski
RD I do wonder if either of the above methods would force the RD browser to never cache the CSS file locally You know, I didn't think about that, as I've never personally used this method. I've never had a need. Thinking about it now, I would also think that you may need to send a content-type

[PHP] Re: php and CSS level 2

2004-03-20 Thread Aidan Lister
Your question indicates you have very little understanding of what PHP actually is. PHP will be parsed anywhere in any script, as long as your webserver is set to parse that type of file (ie, .php by default). 1. In your webserver config you need to make .css files parsed by php 2. Like you've

[PHP] Re: php and CSS level 2

2004-03-20 Thread Ben Ramsey
Why not just make your CSS script end with the .php extension instead of .css? Then, the server will automatically parse it (most likely it will--depending on your server setup, of course). You can link to it from your HTML page like you would your CSS: style type=text/css !-- @import

Re: [PHP] Re: php and CSS level 2

2004-03-20 Thread Richard Davey
Hello Ben, Sunday, March 21, 2004, 4:02:40 AM, you wrote: BR style type=text/css BR !-- BR @import url(/path/to/css.php); -- BR /style BR or BR link href=/path/to/css.php rel=stylesheet type=text/css / Just out of interest Ben, I do wonder if either of the above methods would force the

Re: [PHP] Re: php and CSS level 2

2004-03-20 Thread Ben Ramsey
RD I do wonder if either of the above methods would force the RD browser to never cache the CSS file locally You know, I didn't think about that, as I've never personally used this method. I've never had a need. Thinking about it now, I would also think that you may need to send a content-type