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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

