curl-library
Secured server
Date: Tue, 6 Jul 2004 19:18:39 +0200
I was using this code successfully to connect to a secure server, but now
they changed the key and I have to say that I "trust" the creator of the
certificate. Any ideas as to how I should modify this code for that?
thanks.
$curl_interface = curl_init();
curl_setopt($curl_interface, CURLOPT_URL,$this->url);
curl_setopt($curl_interface, CURLOPT_POST, 1);
curl_setopt($curl_interface,
CURLOPT_POSTFIELDS,"DATAREQUEST=".urlencode($request));
curl_setopt ($curl_interface, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_interface, CURLOPT_SSL_VERIFYPEER, TRUE);
$xml_response=curl_exec ($curl_interface);
curl_close ($curl_interface);
return $xml_response;
----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Tuesday, July 06, 2004 5:20 PM
Subject: Re: curl_easy_reset AND How I'm a CVS Idiot...
> On Tue, 6 Jul 2004, Casey ODonnell wrote:
>
> > I don't know who should test/check this into the code tree, but if
anyone
> > who was having trouble with residual data in their CURL handles could
test
> > this, it would be wonderful.
>
> I'll try to write up a test case or two and merge it with the main code in
a
> week or so...
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
>
Received on 2004-07-06