I'm having troubles with a php code. I'm trying to use a news fetch and a login on non-forum pages mod for my vBulletin forum, but they both use the "require" code. For the news fetch, I have to code:
<?php
chdir('/home/******/public_html/bbs');
require_once('/home/******/public_html/bbs
/vBExternal.php');
?>
And for the login, I need to code:
<?php
chdir('/home/******/public_html/bbs');
require_once('/home/******/public_html/bbs
/global.php');
?>
Now, stand alone, these are fine and work perfectly. However, if I do something like this:
<?php
chdir('/home/******/public_html/bbs');
require_once('/home/******/public_html/bbs
/vBExternal.php');
require_once('/home/******/public_html/bbs
/global.php');
?>
I get a blank page. I've tried everything, putting the codes seperate, making one require_once() and the other require(), switching the two around... everything, but nothing works. Help!