I'm currently using the
Deluxe login hack as well as
vBExternal, however, on some pages I'm using them together. Both use the chdir() and require_once() codes to be added at the top of the page.
My question is how do I add these together without getting errors? I can put them seperatly without any problems at all:
PHP Code:
<?php
chdir('/home/******/public_html/bbs/');
require_once('./vBExternal.php');
?>
and
PHP Code:
<?php
chdir('/home/******/public_html/bbs/');
require_once('./global.php');
?>
However, when I put them both together, I get a blank page. I've tried switching the two round, using one require_once() and one require(), putting them in seperate PHP commands... nigh on everything! Can anyone help me? It's driving me bananas!