[ot]Re: How to invoke a remote program that need authentication

2003-07-11 Thread Tim Funk
How about asking the php folks? If this were java - just use HttpClient from jakarta-commons. -Tim bin cai wrote: Hi, In client side i wrote a php script trying to invoke a cgi script in web server $fp = fsockopen (http://webserver, 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($er

Re: How to invoke a remote program that need authentication

2003-07-10 Thread Jacob Kjome
I assume you are using Basic AUTH here, right? Then send the username/password combo like this.. http://myusername:[EMAIL PROTECTED]/ Obviously, this kind of puts the username/password combo out there is clear text for all to see. However, that happens even with normal Basic AUTH. Base64 en