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