Back to index

php5  5.3.10
022.inc
Go to the documentation of this file.
00001 <?php
00002 
00003 ob_start();
00004 var_dump(STDIN);
00005 
00006 $fd = fopen("php://stdin","r");
00007 var_dump($fd);
00008 
00009 $client_socket = stream_socket_accept($fd);
00010 
00011 $data = ob_get_clean();
00012 fwrite($client_socket, $data);
00013 
00014 ?>