<?php
    $user = $_POST['user'];
    $pass = $_POST['pass'];
    if(strcmp($user, 'user') == 0 && strcmp($pass, 'pass') == 0) {
    	header('Location: success.html');
    } else {
    	header('Location: failed.html');
    }
?>
