php: Very simple private page
Posted: Mon Jul 28, 2003 3:55 pm
I think this is pretty useful to some people. It's very easy to understand, and easy to edit. Remember to name it private.php.
Any questions?
Code: Select all
<title>Private page © Reloiz</title>
<body style=font-family:tahoma;font-size:13px;color:black>
<?php
if(!isset($password)) {
?>
<form action=private.php method=post>
Enter password<br>
<input name=password type=password>
</form>
<?php }
else if($password == Your-password-here) {
?>
<!-- Private page begins here -->
Welcome to private section.<br>
Here you can put cheats, demos, tactics, what you ever want, and only your members and hackers will
know about it :)
<!-- Private page ends here -->
<?php }
else print Wrong password.<br> <a href=\javascript:history.go(-1);\>Back</a>;
?>
</body>
Any questions?