Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Hi everyoneI hope someone can help me with this. I have created a login page and I am going to add several html pages to my site how can I password protect these pages.Your help is apprishiated.
It won't help you to protect HTML files. You need to rename files to .php and add the following code snippet in the beginning of each file.
<?phpif(!@$_SESSION["UserID"] ){ $_SESSION["MyURL"]=$_SERVER["SCRIPT_NAME"]."?".$_SERVER["QUERY_STRING"]; header("Location: login.php?message=expired"); return;}?>