RE: [PHP] Form Based Authentication

2002-03-12 Thread Matt Schroebel
First, change the names of your include files to something.inc.php so that no-one can download the files and get thte source, should their names become known. Second, you either must use session_register or $_SESSION['variablename'] and not mix their use. So instead of: $authenticated_user = 7

[PHP] Form Based Authentication

2002-03-12 Thread Anson Smith
I am new to PHP and I am attempting to use some type of authentication in my site.   My first page is a simple HTML form page with 2 fields username and passwrd. that form is POST'ed to a 2nd page.   In the second page I start a session, and if $_