Re: [PHP] Parsing CSS files

2003-03-31 Thread Liam Gibbs
 Yeah... the same way you made your web server parse files with a .php
 extension. Just repeat the same procedure for a .css extension.

 if you have cpanel you can add the extension from there.

Yeah, I need to find out where to add the CSS extension to my list of
parsable files. I tried just sticking regular PHP code into a CSS file, and
it didn't come out properly. I can't find the place where I can specify what
files to parse, though.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Parsing CSS files

2003-03-31 Thread Chris Hewitt
Liam Gibbs wrote:

Yeah... the same way you made your web server parse files with a .php
extension. Just repeat the same procedure for a .css extension.

if you have cpanel you can add the extension from there.

Yeah, I need to find out where to add the CSS extension to my list of
parsable files. I tried just sticking regular PHP code into a CSS file, and
it didn't come out properly. I can't find the place where I can specify what
files to parse, though.
If you are using Apache, its the AddType line in httpd.conf.

HTH
Chris



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Parsing CSS files

2003-03-31 Thread Leif K-Brooks
Why do you need to do this in the first place?  If you're trying to 
create dynamic CSS, the .php extension will be fine as long as you send 
the proper content-type header.

Liam Gibbs wrote:

Is there any way of making PHP parse files with a CSS extension?

 

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Parsing CSS files

2003-03-30 Thread Liam Gibbs
Is there any way of making PHP parse files with a CSS extension?


RE: [PHP] Parsing CSS files

2003-03-30 Thread John W. Holmes
 Is there any way of making PHP parse files with a CSS extension?

Yeah... the same way you made your web server parse files with a .php
extension. Just repeat the same procedure for a .css extension.

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Parsing CSS files

2003-03-30 Thread Sebastian
if you have cpanel you can add the extension from there.

cheers,
- Sebastian

- Original Message - 
From: Liam Gibbs [EMAIL PROTECTED]


Is there any way of making PHP parse files with a CSS extension?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php