Advertisement
FeRR4L

simple flod

Sep 30th, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD
  2. HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd ">
  3. <html>
  4. <head>
  5. <style type="text/css">
  6. pre{
  7. margin-top:0px; margin-bottom:0px;
  8. }
  9. </style>
  10. </head>
  11. <body>
  12. <form action="<? echo $_SERVER['PHP_SELF'] ; ?>" method="Post">
  13. <input type="text"
  14. name="ipAddress">
  15. <input type="submit" value="Ping">
  16. </form>
  17. <? if(isset($_POST['ipAddress'])){
  18. echo "<pre>";
  19. system("(ping ".$_POST['ipAddress'].")2>&1");
  20. echo "</pre>";
  21. } ?>
  22. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement