Re: [PHP] SSL Connection with cURL

2001-12-20 Thread Gerard Onorato
Roman, This is certainly not the exact answer you are looking for however... We had a lot of trouble using the PHP curl commands directly. We are currently doing a large volume of transactions using cURL with great success by shelling to it. I am attaching a very simple example of what we are

[PHP] SSL Connection with cURL

2001-12-20 Thread Roman Eich
Hi NG, i want to establish an SSL connection with cURL. I used two different scripts, 1) $URL="ssl.server.com/path/file.ext"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://$URL";); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS , "$data"); curl_setopt($ch, CURLO