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 ($errno)<br>\n";
} else {
   fputs ($fp, "GET /bintest.cgi?" HTTP/1.0\r\nHost:http://webserver\r\n\r\n";);
    }
 
The web server will chanllenge me to supply user name and password.
How can I write the username and password into my php script in order to invoke the 
cgi script .
Any help will be really appreciated.
bin

 
 


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Reply via email to