Hi
If you use virtual hosting with Apache, you can just add a
Code:
AddType application/x-httpd-php .css
inside the <VirtualHost> section, but you will get PHP parsing for all .css files on that domain.
Another way is to turn it off completely, and instead of refering to the .css files, put it inline in the page. So instead of using
Code:
<link rel="stylesheet" href="cssfile.css">
Use tags like:
Code:
<style type="text/css">
<!--
/* The CSS goes in here */
-->
</style>
Using PHP - it can be like:
Code:
echo "<style type=\"text/css\">\n";
echo "<!--\n";
include('cssfile.css');
echo "-->\n";
echo "</style>\n";