No matter what I try I can't seem to get this to work with another PHP script. I tried what you suggested above and put this right above <HTML> in the PHP file...
<?php
chdir("forums/");
require('./global.php');
?>
And it came back with this error...
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site72/fst/var/www/html/gallery/albums.php:32) in /home/virtual/site72/fst/var/www/html/forum/admin/functions.php on line 1603
Anyone have any suggestions on how to make this work or know if it's even possible to make it work with another PHP script?
|