Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL);
- $user = $_POST['nm'];
- $password = $_POST['pw'];
- if ($user == 'username') {
- if ($password == 'password'){
- header ('Location: home.html');
- }
- else{
- echo 'Wrong!';
- }
- }
- else{
- echo 'Wrong!';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement