I\'m about to connect to a secure EPP server and send an XML request and then receive a response in XML format again.
I need to do this in PHP. So I need to connect
Well, you just init curl, set options and exec curl request:
$url="your_url";
$handle = curl_init();
curl_setopt($handle, CURLOPT_URL,$url);
curl_setopt($handle, CURLOPT_SSLCERT, $sslcertpath); //$sslcertpath - path to your certificate file
curl_setopt($oCurl, CURLOPT_SSL_VERIFYPEER, true); //may want to set false for debugging
//[...]
$response = curl_exec($handle);
curl_close($handle);
var_dump($response);
You can find a complete list of curl options in the manual: curl_setopt manual