Quote:
Originally Posted by Mu5icMan
the way around that error is to remove the line 'chdir' and put the non-vb page in your forums directory. That's what i did.
|
YOu didnt have to do you... you could just do this...
<?PHP
chdir("forum/directory/");
require('./global.php');
chdir("../back/to/folder/you/want/");
?>
And to Quozt:
Make sure your code is on the VERY top line... the VERY top. Above all head and everything. Should solve your problem.
THis hacks works on 3.5.1 Its very easy to use if you have any php knowledge.
Once someone figures out the stats on non-vb page, i can add some to this code, make it kind of a welcome panel