Auth package tips

From: Date: Sun, 09 Mar 2003 01:22:50 +0000
Subject: Auth package tips
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4115@lists.php.net to get a copy of this message
Hi All! This is my first post:-) 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.pear.general (#4115) next »