I can't seem to get this working right...
I have a
www.mysite.com/downloads/index.php page that I want to implment this on
My forums are in
www.mysite.com/forums
The top of my index page is:
<?php
chdir("../forums/");
require('./global.php');
chdir("../");
?>
and I was sure to change "forum" to "forums" throughout the rest fo the script. I get errors like:
Warning: fopen(./file_info/descriptions/logo_sm.gif.0): failed to open stream: No such file or directory in /home/virtual/site1/fst/var/www/html/download/index.php on line 716 (also 718 and 718)
I have a feeling that the first few lines of the page are what's screwing it up.
The /download/index page reads the downloads directory and lists files in there. It also calls to a subdirectory at downloads/file_info for headers, etc. (it's using PHP Easy Download V0.995 By Paul Alger)
Anybody able to help???
Thanks!!