| Posted by  on 08/02/05 18:34 
|        //fputs($sock, "GET $ HTTP/1.0\r\n");
 that line should cause you fits. either change it to:
 
 fputs($sock, 'GET $ HTTP/1.0\r\n');
 
 or
 
 fputs($sock, "GET \$ HTTP/1.0\r\n");
 
 have you tried opening the socket like:
 
 ssl://user:passwd@hostname
 
 while leaving out the authentication header? perhaps that is worth a
 try...i'd think really hard about tightening up authentication though to
 something other than basic/clear text.
 
 anyway, hope that helps.
 [Back to original message] |