Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. if($_SERVER['REQUEST_METHOD'] == "POST" and isset($_POST['test']))
  3. {
  4. echo "test done";
  5. }
  6. ?>
  7. <html>
  8. <body>
  9. <form action="index.php" method="post">
  10. <input type="submit" name="test" value="GO" />
  11. </form>
  12. </body>
  13. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement