<?php
$fp = fsockopen($host, 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "POST http://browsershots.org/ HTTP/1.1\r\n";
$out .= "Host: browsershots.org\r\n";
$out .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2) Gecko/20100115 Firefox/3.6\r\n";
$out .= "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n";
$out .= "Accept-Language: ru,en-us;q=0.7,en;q=0.3\r\n";
$out .= "Accept-Encoding: gzip,deflate\r\n";
$out .= "Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7\r\n";
$out .= "Keep-Alive: 115\r\n";
$out .= "Connection: keep-alive\r\n";
$out .= "Referer: http://browsershots.org/\r\n";
$out .= "Content-Type: application/x-www-form-urlencoded\r\n";
$out .= "Content-Length: 1459\r\n\r\n";
$out .="url=site.ru&linux_chrome_5_0=on&linux_dillo_0_8=on&linux_dillo_2_2=on&linux_elinks_0_11=on&linux_epiphany_2_30=on&linux_firefox_2_0=on&linux_firefox_3_6=on&linux_firefox_4_0=on&linux_flock_2_6=on&linux_galeon_2_0=on&linux_iceape_1_1=on&linux_iceape_3_6=on&linux_iceweasel_1_0=on&linux_iceweasel_2_0=on&linux_iceweasel_3_0=on&linux_kazehakase_0_5=on&linux_konqueror_3_5=on&linux_konqueror_4_4=on&linux_links_2_2=on&linux_lynx_2_8=on&linux_minefield_3_7=on&linux_msie_6_0=on&linux_navigator_9_0=on&linux_opera_10_60=on&linux_opera_9_80=on&linux_safari_532_4=on&linux_safari_5_0=on&linux_seamonkey_1_1=on&linux_seamonkey_2_0=on&linux_shiretoko_3_5=on&windows_avant_11_7=on&windows_chrome_5_0=on&windows_firefox_3_6=on&windows_flock_1_2=on&windows_flock_2_6=on&windows_k-meleon_1_5=on&windows_minefield_3_7=on&windows_msie_4_0=on&windows_msie_5_0=on&windows_msie_6_0=on&windows_msie_7_0=on&windows_msie_8_0=on&windows_navigator_9_0=on&windows_netscape_8_1=on&windows_opera_10_0=on&windows_opera_7_54=on&windows_opera_8_54=on&windows_opera_9_80=on&windows_safari_3_0=on&windows_safari_4_0=on&windows_safari_5_0=on&windows_seamonkey_1_1=on&windows_seamonkey_2_0=on&windows_shiretoko_3_5=on&mac-os_camino_2_0=on&mac-os_safari_3_2=on&bsd_dillo_2_0=on&bsd_firefox_3_0=on&bsd_galeon_2_0=on&bsd_kazehakase_0_5=on&bsd_konqueror_3_5=on&bsd_opera_9_64=on&bsd_seamonkey_1_1=on&preset=-1&width=dontcare&bits_per_pixel=dontcare&javascript=dontcare&java=dontcare&flash=dontcare";
fwrite($fp, $out);
while (!feof($fp)) {
$resp=$resp.fgets($fp, 128);
}
fclose($fp);
}
?>