too_much_information - 2:28 pm on Dec 8, 2010 (gmt 0)
Right, that's what I've got. What I'm trying to do now is find a way to detect which page is loading the css file.
Usually you can use $_SERVER["PHP_SELF"] to determine which page is loading your include file, but in this case the css file is loaded with the <link> tag.
So my question is how do I find out within the css.php file which of my pages is pulling the css using the <link> tag?
I've tried : ($_SERVER["REQUEST_URI"], $_SERVER["PHP_SELF"], $_SERVER["HTTP_REFERER"], $_SERVER["SCRIPT_NAME"] but none of these seem to work. It looks like the <link> tag causes the css.php file to load independently of whatever page is using the data.