Guest User

vardump post

a guest
Feb 26th, 2016
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <html><head>
  2. <title></title>
  3. </head>
  4. <body>
  5. <form action='' method='post'>        
  6. <p>Username: <input type='text' name='username' value="" /></p>  
  7. <p>Password: <input type='password' name='password' value="" /></p>
  8. <p>Media ID: <input type='text' name='mediaid' value="" /></p>  
  9. <p>Comment: <input type='text' name='comment' value="" /></p>
  10.  
  11. <p><input type='submit' value='Submit' name='submit' /></p>
  12. </form>
  13. </body>
  14. </html>
  15. <?php
  16. error_reporting(0);
  17. if(isset($_POST['submit'])){
  18.     var_dump($_POST);
  19. }
Add Comment
Please, Sign In to add comment