Actually, it's not working again...
here is the code
(it's working on the local host but not on the server)
PHP Code:
chdir('../Forum');
require_once('global.php');
$arr = $vbulletin->userinfo;
$usergroup = $arr['displaygroupid'];
if ($usergroup=="")
$usergroup = $arr['usergroupid'];
//change dir back
chdir('../backtomydir');
--------------- Added [DATE]1339582466[/DATE] at [TIME]1339582466[/TIME] ---------------
sorry.. it's not working I didn't check it right.. it's not working on the server