\n" ;
}else{
$get = 'GET '.$fh['path'].' HTTP/1.1'.'\r\n';
$get .= 'Host: '.$fh['host'].'\r\n';
$get .= "Connection: Close\r\n\r\n" ;
fwrite($conn,$get);
while(!feof($conn)){
echo fgets ( $conn , 128 );
}
fclose($conn);
}
为什么运行出来,是出现如下错误
HTTP/1.0 400 Bad request Cache-Control: no-cache Connection: close Content-Type: text/html
400 Bad request
Your browser sent an invalid request
求大神帮我看看