Date: 02/17/00
- Next message: Manuel Lemos: "Re: [PHPLIB] Re: [PHP3] Re: Anybody got a load tester?"
- Previous message: Eddie Chan: "[PHPLIB] using PHPLib with Apache Web Proxy"
- In reply to: Christoph Aigner: "[PHPLIB] $user_id"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christoph Aigner wrote:
> hello,
>
> sorry for asking questions that often, but does anyone know how to get the
> user_id of the currently registrated user in an authenticated session?
$user->id and $auth->auth["uid"].
Read over the Auth and User section of the manual... it's described there.
>
>
> i've allready tried
>
> page_open(array("sess" => "A_Session", "auth" => "A_Auth", "perm" =>
> "A_Perm", "user" => "A_User"));
>
> $uid = $user->get_id();
>
> ....
>
> but that doesn't work...
>
> thx
>
> christoph
>
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Manuel Lemos: "Re: [PHPLIB] Re: [PHP3] Re: Anybody got a load tester?"
- Previous message: Eddie Chan: "[PHPLIB] using PHPLib with Apache Web Proxy"
- In reply to: Christoph Aigner: "[PHPLIB] $user_id"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

