cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: possible? if so good tutorials

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 27 Aug 2002 14:45:09 +0200 (MET DST)

On Mon, 26 Aug 2002, William E. T. wrote:

> Basically I'm working on a php project where I need to send some info to a
> server VIA https and get a response. I beleive that curl can do this, am I
> correct? (I beleive so, but hey can't hurt asking).

Yes, that is correct.

> My real question is I want to know how to verify the servers certificate.

CURLOPT_CAINFO or possibly CURLOPT_CAPATH are your friends.

> I tried reading the docs on the site, but they were above my head.

Right, there's a gap between the docs that are provided for the CURL module
for PHP and the C API docs on the curl site.

Unfortunately, no one seems to want to scratch that itch.

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-08-27