<?php chdir('./forums'); require_once('./global.php'); global $vbulletin; echo $vbulletin->userinfo['userid']; ?>