You are here: Re: Authorization then POST request « All PHP « IT news, forums, messages
Re: Authorization then POST request

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация