I'm using the PEAR Soap package and having problem accessing another sites's webservices. When i do something like this: <?PHP $wsdl_url = 'some_wsdl.xml'; $WSDL = new SOAP_WSDL($wsdl_url); $client = $WSDL->getProxy(); $web_service_result = $client -> some_web_service($param1,$param2,$param3,$param4); ?> $web_service_result returns the soap_fault Object. The message portion contains the line "curl_exec error 6 Couldn't resolve host 'secure.example.com' " Also if i try to grab the WSDL file from the remote server the script doesn't seem to grab the WSDL ( i get a bunch of "Passed variable is not an array or object" errors ). I think the problem is curl can't resolve the hostname. Also if i run <?PHP echo gethostbyname('http://bugs.php.net'); ?> It echos "http://bugs.php.net", no good. When i try something like <?PHP $url = 'https://secure.example.com/index.html'; $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER,TRUE); $result = curl_exec($ch); $cur_error = curl_error($ch); curl_close($ch); echo $result; echo "<BR> Error: ".$cur_error; ?> It doesn't echo out anything, however if run "curl https://secure.example.com/index.html" from the command line i get back the page found at that address. I'm running PHP Version 4.3.4 with CURL support enabled (CURL Information: libcurl 7.9.8 (OpenSSL 0.9.7c) (ipv6 enabled) ) on Red Had. If i ping 'secure.example.com' the address resolves properly. Any tips on things to try? Should i reinstall curl? SSL? Anything else i should investigate? -k. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php