FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Get current user
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Get current user [message #161971] Mon, 01 March 2010 00:59 Go to previous message
Slicke is currently offline  Slicke   Sweden
Messages: 3
Registered: February 2010
Karma:
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!
[Message index]
 
Read Message
Read Message
Previous Topic: Adding Google AdSense?
Next Topic: How to retain headers when using maillist.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 06:08:19 GMT 2024

Total time taken to generate the page: 0.04630 seconds