PEAR AUTH :: Need some advice

From: Date: Sun, 09 Mar 2003 02:03:26 +0000
Subject: PEAR AUTH :: Need some advice
Groups: php.general 
Request: Send a blank email to php-general+get-138819@lists.php.net to get a copy of this message
Hi Folks! I am working with pear auth package in order to authenticate some users on a project. Well, I have a mysql table with the following columns: uid username password name I can authenticate the user against his username/password without problems, but I need also to include the uid, name and age on the session generated by Auth. The only data I get is: Array (
    [auth] => Array
        (
            [registered] => 1
            [username] => geddylee
            [timestamp] => 1047172433
            [idle] => 1047172433
        )
) The desired results should be: Array (
    [auth] => Array
        (
            [registered] => 1
            [username] => geddylee
[uid] => 2112 [name] => Gary Lee Weinrib
            [timestamp] => 1047172433
            [idle] => 1047172433
        )
) I read the docs and the mailing list archives, but find nothing about it. Any tips? Thanks in advance. Alex

« previous php.general (#138819) next »