$handle = curl_init(); curl_setopt($handle, CURLOPT_COOKIE, 'remixlang=0;'); curl_setopt($handle, CURLOPT_PROXY, '91.196.0.75:80'); curl_setopt($handle, CURLOPT_VERBOSE, false); curl_setopt($handle, CURLOPT_HEADER, false); curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); curl_setopt($handle, CURLOPT_REFERER, 'http://www.weblancer.net/'); curl_setopt($handle, CURLOPT_URL, 'http://www.weblancer.net/account/login/'); curl_setopt($handle, CURLOPT_USERAGENT, 'User-Agent: Mozilla/6.0 (Windows; U; Windows NT 6.1; ru; rv:2.9.0.4) Gecko/2009102920 Firefox/3.1.4'); curl_setopt($handle, CURLINFO_HEADER_OUT, true); curl_setopt($handle, CURLOPT_POST, true); curl_setopt($handle, CURLOPT_POSTFIELDS, 'action=login&login=Buffalon&password=xXx'); echo $response = iconv('windows-1251', 'UTF-8', curl_exec($handle)); //echo $response = curl_exec($handle); // У меня просто все на UTF8 curl_close($handle);