How do I create a password protection on my site? I'm using PHP and mySQL.
You can start by reading some of the articles and doing a search in the forums.
You can use session to check wether the user login or not.. in your login script , just put a start_session, and register the variable you want