Quote:
Originally Posted by ohadpartuck
it worked only when I moved the script to the same folder as global.php.
|
Then what you need to do is chdir() to the forum directory before including global.php, like:
Code:
chdir('./forum');
include('global.php');
then you can chdir() back to your script directory if you need to.
You need to do this because the vb code has relative paths for including other files.