What is the code to call in a PHP script to get the userid and username of a user? Thanks in advance.
I did see that. However, I don't know enough about php to implement. When I throw the include and assignment in my script, it just gives a generic error.
Havent found userid yet, heres username: require_once '/home/amember/public_html/am4beta/library/Am/Lite.php'; $user = Am_Lite::getInstance()->getUsername(); David
AHHHHHH I was looking for this for about 2 hours now! $userid = Am_Lite::getInstance()->getUser(); echo $userid[user_id]; Thanks!