$request=" POST /index.php HTTP/1.0 Accept: */* Accept-Language: ru Content-Type: application/x-www-form-urlencoded UA-CPU: x86 User-Agent: Mozilla/4.0 Host: www.site.ru Content-Length: 61 Pragma: no-cache Connection: Keep-Alive ID=1234567&load="; $fp = fsockopen('www.site.ru', 80); if($fp) { fputs($fp, $request); while(!feof($fp)) fgets($fp); fclose($fp); }
HTTP/1.1 200 OK Date: Fri, 06 Nov 2009 14:18:07 GMT Server: Apache/2.0.61 (Unix) PHP/5.2.2 X-Powered-By: PHP/5.2.2 Content-Disposition: filename=filename123.zip Content-Description: filename123.zip Content-Transfer-Encoding: binary Content-Length: 228397 Pragma: no-cache Expires: 0 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: application/zip; name=filename123.zip PK����FЈr:µcHyЉl�Б?� ���Easy.exeмьg\ЯЦ7ЊO!ґBo 5й ЅчЮ»фЮ…Р4фЉ¤‹JoўТTљ4й bTИо·—н.·Љo™џX! і)ФcѕEBN<©НmN¬P7·?IOhњ00ђ ?|ћ‹$ПbТEО=4Т±4Х1––у���i{�+�Comment for file
PK����FЈr:µcHyЉl�Б?� ���Easy.exeмьg\ЯЦ7ЊO!ґBo 5й ЅчЮ»фЮ…Р4фЉ¤‹JoўТTљ4й bTИо·—н.·Љo™џX! і)ФcѕEBN<©НmN¬P7·?IOhњ00ђ ?|ћ‹$ПbТEО=4Т±4Х1––у���i{�+�Comment for file