$content = "";
$host = "www.transforum.ru";
$port = 80;
$doc = "/search.php?mark=VOLVO";
$fp=fsockopen($host,$port, $errno, $errstr, 30);
if (!$fp)
{
echo "$errstr ($errno)<br />\n";
}
else
{
$out = "GET $doc HTTP/1.1\r\n";
$out .= "Host: $host\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
while (!feof($fp))
{
content .= fgets($fp, 128);
}
fclose($fp);
}