Размер файла: 593B
<?
for($id=1; $id<1000; $id++)
{
$rand=rand(1,9999);
$hostname="hack.ex.lv";
$path="/vg/?id=$id&do=glabat&act=0&r=$rand";
$fp = fsockopen($hostname,80);
if (!$fp) echo "ERROR";
else
{
$data ="nick=chester&txt=jauns projekts tavam symbianam!!.&wapurl=smartzona.net/\r\n\r\n";
$headers = "POST $path HTTP/1.1\r\n";
$headers .= "Host: $hostname\r\n";
$headers .= "Content-type: application/x-www-form-urlencoded\r\n";
$headers .= "Content-Length: ".strlen($data)."\r\n\r\n";
fwrite($fp, $headers.$data);
while (!feof($fp))
{
$line .= fgets($fp, 1024);
}
fclose($fp);
}
}
?>