enigma1 - 10:41 pm on Dec 8, 2010 (gmt 0)
What I'm trying to do now is find a way to detect which page is loading the css file.
You pass a parameter to the style.php which is loaded by the file in question like:
<link rel="stylesheet" type="text/css" href="style.php?id=1" />
where id is the parameter and 1 could imply index.php
How are you dealing with browser caching
You can setup the cache headers with HTTP_IF_MODIFIED_SINCE, the expires and cache-control