<? chdir("../forum"); require('global.php'); if ($bbuserinfo['userid']!=0) { $username=$bbuserinfo['username']; echo $username; } ?>