Home »
FUDforum »
How To »
Get current user
Get current user [message #161971] |
Mon, 01 March 2010 00:59 |
Slicke
Messages: 3 Registered: February 2010
Karma: 0
|
Junior Member |
|
|
Hi!
Im trying to get the person logged into my forum from my own .php file.
Ive used:
Citat:
require_once("../forum/GLOBALS.php");
fud_use('db.inc');
fud_use('cookies.inc');
$fuduser = ses_get();
echo 'you are ' . $fuduser->alias;
But I dont get any output at all.
Any ideas why?
Thanks!
|
|
|
|
Goto Forum:
Current Time: Thu Nov 21 15:40:25 GMT 2024
Total time taken to generate the page: 0.03913 seconds