All pastes #160382 Raw Edit

Mine

public text v1 · immutable
·published 2006-09-04 05:48 UTC
rendered paste body
<html>

<head>
 <title></title>
</head>

<body>


<?php

$fp = fsockopen("chat.chat.ru", 80, $errno, $errstr, 30);
if (!$fp) {
   echo "$errstr ($errno)<br />\n";
} else {
   $out = "GET / HTTP/1.1\r\n";
   $out .= "Host: chat.chat.ru\r\n";
   $out .= "Connection: Close\r\n\r\n";

   fwrite($fp, $out);
   while (!feof($fp)) {
       echo fgets($fp, 128);
   }
   fclose($fp);
}

?>


</body>

</html>