На запрос: function connect($link){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$link); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 0); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_COOKIE, $cookie); $html = curl_exec($ch); curl_close($ch); return $html; } echo $html; Сервер дает мне ответ: HTTP/1.1 200 OK Date: Sat, 02 Jan 2010 13:59:45 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Set-Cookie: ASP.NET_SessionId=hdcpx145ehfgiw45fw2geqrn; path=/; HttpOnly Cache-Control: private Content-Type: text/html; charset=windows-1251 Content-Length: 51204 Что мне нужно сделать дальше, чтобы пройти авторизацию?