Verbose Curl
| From: | David Busby | Date: | Wed, 21 May 2003 19:40:02 +0000 |
| Subject: | Verbose Curl | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-634@lists.php.net to get a copy of this message | ||
List,
Which of these is correct? None seem to make CURL run quietly. Is it
because I have a self-signed certificate?
// This...
$sc =& new SOAP_Client("https://www.domain.com/soap.php");
$opt =
array('namespace'=>'urn:my_rpc','style'=>'rpc','timeout'=>30,'curl'=>array(C
URLOPT_VERBOSE,0));
$sc->call('something',$arg,$opt);
// Or this...
$sc =& new SOAP_Client("https://www.domain.com/soap.php");
$sc->setOpt('curl',CURLOPT_VERBOSE,0);
$opt =
array('namespace'=>'urn:my_rpc','style'=>'rpc','timeout'=>30);
// Or this...
$sc =& new SOAP_Client("https://www.domain.com/soap.php");
$sc->setOpt('curl',CURLOPT_VERBOSE,0);
$sc->setOpt('curl',CURLOPT_MUTE,1);
$opt =
array('namespace'=>'urn:my_rpc','style'=>'rpc','timeout'=>30);
David Busby
Systems Engineer
busby@pnts.com