PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
if($_POST['name'] == "###your name###" && $_POST['pass'] == "###your pass###") {
#this is a nice way to send to the end result of proper log ins
header("Refresh: 1; url=admin.php");
} else {
#if info was not correct, then go back to log in script here
require(login.php);
}
?>