1. This is for your logs. Your logs must be a .php extension.
2. The MD5 encryption is only for paranoids.
First add this to your logs page:
PHP Code:
<?php
$check = @$_Post***91;'password'***93;;
if ($check!="CHANGETHISTOAPASSWORD")
die;
?>
Now your admin.php page:
PHP Code:
<form action="YOURLOGNAME.php" method="post">
Password:<br>
<input type="password" name="password">
<input type="submit" value="Submit">
</form>
MD5 Encryption, add this to logs page:
PHP Code:
<?php
$check = @$_Post***91;'password'***93;;
$check1 = crypt($check);
if ($check1!="CHANGETHISTOAMD5HASH")
die;
?>
On this one change "CHANGETHISTOANMD5HASH" to an md5 encrypted pass. If you don't feel like going to a site, here is an easy way, make some form and then:
PHP Code:
$x = $_Post***91;'formname'***93;;
$c = crypt($x);
echo $c;
+rep?
it can be done differently, but this way has less code