This simple log in script will password protect one or more of your pages. You can allow different users to go to different sites.
Download
View Source (print view)
Rating : 4.7
Views : 596
<!-- Save this as a simple *.html document with any name -->
<form action="action.php" method="POST">
<font face="helvetica" color="black" size="3">Password: </font><input type="password" name="password" style="background: #4682B4; color: white" />
<br><br><input type="submit" value="Enter" style="background: #6495ED">  <input type="reset" value="Reset" style="background: #6495ED">
</form>
<!-- save this as action.php. change the variables $pass, and both the header("location: ") commands to whatever you would like. -->
<?php
$pass = "insertpasswordhere";
if ($_POST["password"] == $pass) {
header ("Location: your/path/to/correctpasswordsite.php");
}
else {
header ("Location: your/path/to/wrongpasswordsite.php");
}
?>
security, snnap_ss, salars77, paper_without_wood, guest, enfactuation, rent a car, download, regirstration form, php_snips, fedex, call php', userstatusinonline, php_script"_class="neww"_target="_blank"_title="im_neuen, best ide, php script" class="neww" target="_b..., forum, p t test paired, php_tools, href php function, utfraw