Hi!
I'm making external php script and I need to get some information about user, etc. In VB4 for example, I did it like this to check if user is logged in or not:
HTML Code:
require_once('./global.php');
global $db;
global $vbulletin;
$userid = $vbulletin->userinfo["userid"];
if ($userid == "")
die;
In VB5 however, whenever I try to include global.php (core/global.php), I end up with "Access denied". Are there some permissions I need to adjust first or ...? I'm working with WAMP.
Thanks!