Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTML -seila.html
- <form action="senha.php" method="post">
- <p>Senha:<input type="pass" name="senha"></p>
- <p><input type="submit"></p>
- </form>
- PHP - senha.php
- <?php
- ob_start();
- $senha = 1052;
- if ($$senha == $_POST['password']){
- }
- else{
- echo "<script type='text/javascript'>);
- location.href='seila.html';
- </script>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement