PHPlib
Friday, July 25, 2008  
download | documentation | faq | changelog | resources 


search for in the  


previousAuthentication Instance methods
Using default authenticationnext

Last updated: Thu, 04 Jul 2002
view this page in Plain HTML

Use a subclass of Auth to provide parameters for your authentication class and to implement your own auth_* functions.

Your loginform.ihtml contains HTML and PHP code to draw a login form. $this->auth["uname"] will be empty on the first login attempt and set on all further login attempts. You can use this to detect repeated login attempts and display an appropriate error message. You must print the result of $this->url() to create your forms action attribute.

See the provided loginform.ihtml for an example.

Use the page management functions (see above) to use your authentication subclass. The feature name for authentication management is auth; provide the name of your Auth subclass as a parameter to the auth feature. The auth feature requires the sess feature:


User Contributed Notes
Authentication Examples
add a note about notes
There are no user contributed notes for this page.


previousAuthentication Instance methods
Using default authenticationnext

Last updated: Thu, 04 Jul 2002



 

PHP Copyright © 2001 The PHPlib Group
All rights reserved.
Last updated: Thu Jul 4 15:42:18 2002 IST
Hosted and Maintained by http://www.sanisoft.com