Date: 05/11/01
- Next message: Klaus Seidenfaden: "Sv: [phplib] Missing dollar signs after upgrade from php3 to php4"
- Previous message: James Johnson: "RE: [phplib] Numeric check on permissions"
- In reply to: Miguel Dieckmann: "[phplib] check if user is authenticated on page which dont't need authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Miguel
use default authentication:
page_open(array("sess" => "example_Session", "auth" =>
"example_Default_Auth", "perm" => "example_Perm", "user" => "example_User"));
and then do checks like this:
if ( $sess->have_perms('auth')
I hope this helps
James
At 03:07 PM 5/11/01 +0200, Miguel Dieckmann wrote:
>hi!
>
>i've a problem with the phplib:
>
>i want to check if a user is authenticated. the page itself requires no
>authentication.
>the thing is: there should be additional features for authenticated users on
>the side.
>
>how can i solve that?
>
>thanks in advance
>miguel.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: phplib-unsubscribe <email protected>
>For additional commands, e-mail: phplib-help <email protected>
James Johnson
Managing Director
Publitek New Media Ltd.
IMPORTANT NOTE: NEW ADDRESS
18 Brock Street, Bath, BA1 2LW, UK
T: +44 (0) 1225 780174
F: +44 (0) 1225 470047
Courier deliveries should be addressed to 'West Door'
Please amend your records and let your colleagues know
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Klaus Seidenfaden: "Sv: [phplib] Missing dollar signs after upgrade from php3 to php4"
- Previous message: James Johnson: "RE: [phplib] Numeric check on permissions"
- In reply to: Miguel Dieckmann: "[phplib] check if user is authenticated on page which dont't need authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

