cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: -k switch php_curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Jun 2003 10:29:54 +0200 (CEST)

On Fri, 20 Jun 2003, Bastiaan Naber wrote:

> Hi I am trying to get a secure page with php_curl.. on the command line I do
> curl -k https://xxx.xxx.xxx I need to do the -k to get the page. How do I do
> this in php ? I can't get it to work, it returns an empty page.

The -k and why it is needed is explained on this page:

        http://curl.haxx.se/docs/sslcerts.html

The library-options mentioned work for PHP/CURL as well (AFAIK).

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
Received on 2003-06-23