[snip] Well I already have a db with username/password fields, etc. I'm just looking for code for a login page and a file to include at the top of each page for auth. [/snip]
a. do not reply off-list unless asked, your question may not receive the attention it needs 2. You do know basic PHP, correct? Create a page that accepts a username and password. Have the un and pw checked against the db. If it is good, set a cookie and check for the cookie with each page, if not redirect to the proper location. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php