Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.71K
1 Posted Topic
try this code [CODE] <?php $user="beatrice"; $pswrd="bean"; $redirect=false; $max_attempts=false; $num_attempts=(isset($_POST["num_attempts"])) ? $_POST["num_attempts"] + 1 : 0; $username = (isset($_POST["username"])) ? $_POST["username"]: ""; if(!isset($_POST["username"])) { $msg="Welcome to the Cameron Page!"; }else if($_POST["username"]==$user && $_POST["password"]==$pswrd)//everything matches, move to webpage { $redirect=true; $msg=""; }else if($num_attempts>10)//kicks user out of program { $msg="Exceeded the limit …
The End.
Gori