Added lot of junk laying around on harvie.cz
[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 0.23398 seconds and 4 git commands to generate.