Hi everyone, thanks for looking at my thread. I'm a pretty new PHP programmer (my experience is with Flash's actionscript). Here's my problem:
I'm creating a simple page with a simple form (1 field) that requests a password from the user. Then I try to store that password as a session variable so I can check for it on the controlpanel.php page, which I want to be protected.
Basically, I need someone to help me with the code for those two pages - one for the login page which uses a <?=$PHP_SELF ?> action to run the variable through a script that tests it. And another script for the page which is to be password protected.
Also, if you have time, I need to figure out some code for every other page in the site that examies whether or not I'm logged in and displays a "log in" or "log out" link accordingly.
Thanks for any help you can give me! I really appreciate it!