http_request Object ( [_url] => net_url Object (
http:// =>
[url]http://127.0.0.3/1.html?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=spiderman+game&btnG=Google+Search [protocol] => http [user] => [pass] => [host] => 127.0.0.3 [port]
=> 80 [path] => /1.html [querystring] => Array ( [hl] => en [lr]
=> [ie] => UTF-8 [oe] => UTF-8 [q] => spiderman%2Bgame [btnG] =>
Google%2BSearch ) [anchor] => [useBrackets] => 1 ) [_sock] =>
net_socket Object ( [fp] => Resource id #1 [blocking] => 1 [persistent]
=> [addr] => 127.0.0.3 [port] => 80 [timeout] => 20 [lineLength]
=> 2048 [_debug] => [_default_error_mode] => [_default_error_options]
=> [_default_error_handler] => [_error_class] => PEAR_Error
[_expected_errors] => Array ( ) ) [_method] => GET [_http] => 1.1
[_user] => [_pass] => [_proxy_host] => [_proxy_port] => [_timeout]
=> 20 [_requestHeaders] => Array ( [User-Agent] => PEAR HTTP_Request
class (
http://pear.php.net/ ) [Content-Type] =>
application/x-www-form-urlencoded [Connection] => close [Host] =>
127.0.0.3 )
Запросы без ответа доходят только до сюда (print_r($a)
Дальше выводят только первые 47 запросов:
[_response] => http_response Object ( [_code] => 200
[_protocol] => HTTP/1.1 [_headers] => Array ( [Date] => Fri, 31 Jan
2003 22:56:50 GMT [date] => Fri, 31 Jan 2003 22:56:50 GMT [Server] =>
Apache/1.3.22 (Win32) rus/PL30.9 [server] => Apache/1.3.22 (Win32) rus/PL30.9
[Last-Modified] => Fri, 31 Jan 2003 22:49:24 GMT [last-modified] => Fri,
31 Jan 2003 22:49:24 GMT [ETag] => "0-68-3e3afd74" [etag] =>
"0-68-3e3afd74" [Accept-Ranges] => bytes [accept-ranges] => bytes
[Content-Length] => 104 [content-length] => 104 [Connection] => close
[connection] => close [Content-Type] => text/html [content-type] =>
text/html ) [_body] => Free Game ) )
Странно вот ещё что: [_body] => Free Game
Хотя $code= $a->getResponseBody(); echo("$code"); возвращает:
"
Free GameFree Game"