Ok upon further investigation...I think the problem lies in the
$url= '../../template/'.$config['skinDir'].'/';
When i open the file (i finally got it to get the stylecss by using this code:
<?
$files="style.css";
$filenames="style.css";
$url= '../../template/'.$config['skinDir'].'/';
$total=$url . $files;
ob_start();
echo $data;
Header ( "Content-Type: application/octet-stream");
Header ( "Content-Length: ".filesize($total));
Header( "Content-Disposition: attachment; filename=$filenames");
readfile($total);
ob_end_flush();
?>
However when i open my style.css file all i see is
<br />
<b>Warning</b>: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for ../../template//style.css in <b>/home/papermom/public_html/manager/settings/downloadcss.php</b> on line <b>10</b><br />
<br />
<b>Warning</b>: readfile(../../template//style.css) [<a href='function.readfile'>function.readfile</a>]: failed to open stream: No such file or directory in <b>/home/papermom/public_html/manager/settings/downloadcss.php</b> on line <b>12</b><br />
its not recognizing my dynamic file location....ughh i totally suck at dynamic file locations....any ideas?