View Single Post
  #3  
Old 4th January 2012, 15:18
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,058
Thanks: 826
Thanked 5,392 Times in 4,237 Posts
Default

Replace line:

Code:
fwrite($fp, "GET / HTTP/1.0\r\n\r\n");
with:

Code:
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: localhost\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote