Vizionz
05-10-2007, 04:08 AM
<?
chdir('/full path/');
require_once('./global.php');
?>
<center>
</head><body><? echo $style['css']; ?><body bgcolor="alt2">
now if use this in the root directory of my forum it will work on a stand alone page grabbing the stylesheet. but if i call it with full path in a directory above the forum root it wont grab the style sheet since its below so unless i copy the clientscript folder over to every directory it wont work and then that defeats the purpose of what i am doing any help
chdir('/full path/');
require_once('./global.php');
?>
<center>
</head><body><? echo $style['css']; ?><body bgcolor="alt2">
now if use this in the root directory of my forum it will work on a stand alone page grabbing the stylesheet. but if i call it with full path in a directory above the forum root it wont grab the style sheet since its below so unless i copy the clientscript folder over to every directory it wont work and then that defeats the purpose of what i am doing any help