Sends the request.
{
if (!function_exists('curl_init') &&
!(
@dl('php_curl' . PHP_SHLIB_SUFFIX) || @dl('curl' . PHP_SHLIB_SUFFIX)
)) {
}
if ($ch = curl_init()) {
if (
(is_null($this->_proxy) || curl_setopt($ch, CURLOPT_PROXY, $this->_proxy)) &&
(is_null($this->_proxyAuth) || curl_setopt($ch, CURLOPT_PROXYUSERPWD, $this->_proxyAuth)) &&
curl_setopt($ch, CURLOPT_URL, $this->_uri) &&
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE) &&
curl_setopt($ch, CURLOPT_POST, 1) &&
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $this->_sslverify) &&
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-type: text/xml; charset='.$this->_encoding,
'User-Agent: PEAR_XML_RCP2/' .
XML_RPC2_Client::VERSION)) &&
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_postData)
) {
if (($errno = curl_errno($ch)) != 0) {
}
$info = curl_getinfo($ch);
if ($info['http_code'] != 200) {
}
} else {
}
} else {
}
return true;
}