spinPHP

Simple Password protection

This is an example on how to use a PHP function that asks for a password. A link to a "hidden" page will be displayed if the entered password is correct.


Enter Password to continue:

The password in this example is "qwerty" (without the quotes).

Sorry, you entered an incorrect password.

Thank you, click the Continue link below to enter the “hidden” area on this site (the PHP Counter Example).
Continue...

This PHP code example is copyright © 2002-2003 Optima System. All rights reserved worldwide. Unauthorized distribution prohibited. SpinPHP™ User License.