Hey guys, I'm having a very fundamental issue getting this to work.
As soon as I do the require global.php line, my varibles don't work... by that i mean the php page below prints only Test:
$FORUM_ID is blank even though its decalred...
if i remove the require global.php line its fine.... what gives?
PHP Code:
<?php
$FORUM_ID = 60;
chdir('/www/data/website/forums');
// Load vB-Backend
require_once ('./global.php');
// require_once ('./includes/functions_newpost.php')
?>
Test: <?php echo $FORUM_ID?>
forum_id ends up blank... if i comment out the global.php, it prints properly... any ideas?