$request = "GET /phpBB/ HTTP/1.1\r\n";
$request .="Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n";
$request .="Accept-Encoding: gzip,deflate\r\n";
$request .="Keep-Alive: 300\r\n";
$request .="Connection: keep-alive\r\n";
$request .= "\r\n";
$s = fsockopen("www.phpbb.com", 80, $errno, $errstr, 30);
i'm trying to load http://www.phpbb.com/phpbb/ ,
but the response from the phpbb server is BAD REQUEST
what's wrong with this request?