Posted on: 06/19/03 07:24am
By: 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?
Newbie Help for PHP and GL programming
Posted on: 06/19/03 10:18am
By: Tony
<?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.
Newbie Help for PHP and GL programming
Posted on: 06/19/03 10:21am
By: Tony
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.
Newbie Help for PHP and GL programming
Posted on: 06/19/03 10:52am
By: Anonymous (Anonymous)
Thank You, Thank You, Thank You!!!!