NxTek
06-08-2005, 07:29 PM
Hi,
I'm making a page that basically outputs the username to use with another script.
Is there code that would make this page vB-powered? I'm assuming I can use something like this -
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
chdir('/home/httpd/vhosts/onlinepokerlistings.com/httpdocs/forums');
require_once('./global.php');
php echo $bbuserinfo['username'];
?>
Thanks in advance!
I'm making a page that basically outputs the username to use with another script.
Is there code that would make this page vB-powered? I'm assuming I can use something like this -
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
chdir('/home/httpd/vhosts/onlinepokerlistings.com/httpdocs/forums');
require_once('./global.php');
php echo $bbuserinfo['username'];
?>
Thanks in advance!