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: Fri Nov 01 00:34:13 GMT 2024
Total time taken to generate the page: 0.01876 seconds