sunrise2006
12-31-2006, 12:07 PM
Hello friends,
I use the below code to check user session at any file .php but when execute that, the user session will not insert to session table for handle by another online users.
$currentdir = getcwd();
chdir("../forum");
require_once("./global.php");
require_once("./includes/functions_bigthree.php");
require_once("./includes/functions_forumlist.php");
$userinfo = $vbulletin->userinfo;
chdir($currentdir);
unset($currentdir);
Please help me how to do that?
Thanks.
I use the below code to check user session at any file .php but when execute that, the user session will not insert to session table for handle by another online users.
$currentdir = getcwd();
chdir("../forum");
require_once("./global.php");
require_once("./includes/functions_bigthree.php");
require_once("./includes/functions_forumlist.php");
$userinfo = $vbulletin->userinfo;
chdir($currentdir);
unset($currentdir);
Please help me how to do that?
Thanks.