protecting pages with a login system
| From: | David Mehler | Date: | Thu, 18 Mar 2010 15:40:02 +0000 |
| Subject: | protecting pages with a login system | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-302961@lists.php.net to get a copy of this message | ||
Hi,
I am wanting to protect some pages by requiring a user to log in to
access them. I'd prefer this be as simple as possible, and without
requiring a database.
So for example when a user goes to www.domain.com/example.php they'll
get a page prompting for their log in credentials, and only after
providing them will the page display. I'd prefer to avoid basic
authentication dialog boxes if possible.
Suggestions appreciated.
Thanks.
Dave.