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).

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