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.
PHP Code:
$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.