Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1.  
  2. input.html:
  3. <html>
  4. <head>
  5. </head>
  6. <body>
  7. <form action="/post.php" method="post">
  8.     <input type="text" name="siffra">
  9.     <input type="submit">
  10. </form>
  11. post.php:
  12. <?php
  13. if($_POST["siffra"] == 5) {
  14.     header("Location: /nastasida.php");
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement