SHARE
TWEET

Untitled

a guest Dec 16th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.  
  3. <head></head>
  4.  
  5. <body>
  6.     <form action="invia.php" method="post">
  7.         <input type="text" name="frase" />
  8.         <input type="submit" name="invio" value="INVIA" />
  9.     </form>
  10. </body>
  11.  
  12. </html>
  13.  
  14. <?php /* invia.php */
  15.  
  16. $socket = socket_create(AF_INET, SOCK_STREAM, 0);
  17. socket_connect($socket, '127.0.0.1' , 5000);
  18. socket_send($socket, $_POST["frase"], strlen($message), 0)
  19. socket_close($socket);
  20.  
  21. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top