1fc76a6de960596a8e5b88f1ebb77d0a0bd3090c
[mirrors/Programs.git] / php / skripty / serv_kill.php
1 <?php
2
3 echo("go go go!");
4
5 while(1) {
6
7 $fp = fsockopen ("localhost", 8080, &$errno, &$errstr, .2);
8 socket_set_timeout( $fp, 0, 1 );
9 $err = 0;
10 while($err == 0) {
11 if ( !fwrite($fp, "KILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILLKILL") ) //GET / HTTP/1.1\r\n\r\n
12 { $err = 1; }
13 }
14 fclose($fp);
15 }
16
17 ?>
This page took 1.23613 seconds and 5 git commands to generate.