pmm19518
01-22-2005, 06:06 PM
Hi All,
I have a small php script (copied at end of this message) that I've put in my www shortcut folder. It basically calls the css and is just not working.
When I phpinfo(), I don't see the variable I called - $HTTP_GET_VARS["cssfile"]
Is the file in the wrong folder? Do I have wrong permissions on the www folder?
Any help is appreciated,
-Patricia
script:
$tempCSS = $HTTP_GET_VARS["style1.css"];
if ($tempCSS != "") {
$loadCSS = $tempCSS;
} else {
/* sets a default CSS file if no querystring specified now */
$loadCSS = "style1.css";
};
$currentDesign = $loadCSS;
I have a small php script (copied at end of this message) that I've put in my www shortcut folder. It basically calls the css and is just not working.
When I phpinfo(), I don't see the variable I called - $HTTP_GET_VARS["cssfile"]
Is the file in the wrong folder? Do I have wrong permissions on the www folder?
Any help is appreciated,
-Patricia
script:
$tempCSS = $HTTP_GET_VARS["style1.css"];
if ($tempCSS != "") {
$loadCSS = $tempCSS;
} else {
/* sets a default CSS file if no querystring specified now */
$loadCSS = "style1.css";
};
$currentDesign = $loadCSS;