Anonymous

Anonymous
i'm new to the GL and PHP programming in general, can someone let me know how to get the logged in name and user id from a standalone script. Also what is the best way to start learning geeklog programming?

Status: offline

Tony

Site Admin
Admin
Registered: 12/17/01
Posts: 405
<?php require_once '/path/to/geeklog/public_html/lib-common.php'; echo $_USER['username'] ?> That's all.---The reason people blame things on previous generations is that there's only one other choice.
The reason people blame things on previous generations is that there's only one other choice.

Status: offline

Tony

Site Admin
Admin
Registered: 12/17/01
Posts: 405
Oh, and this gets you the ID: echo $_USER['uid']; --Tony---The reason people blame things on previous generations is that there's only one other choice.
The reason people blame things on previous generations is that there's only one other choice.

Anonymous

Anonymous
Thank You, Thank You, Thank You!!!!