In order to use curl with secure sites you will need a ca-bundle.crt file; here's a PHP script I've written which creates a fresh ca-bundle:
http://www.gknw.net/php/phpscripts/mk-ca-bundle.php
I've also written scripts in other languages, f.e. the Perl one which ships now with curl distributions:
http://curl.haxx.se/lxr/source/lib/mk-ca-bundle.pl
and also a Win32 WSH script if you prefer that:
http://www.gknw.net/vb/scripts/mk-ca-bundle.vbs
HTH, Guenter.
Client URL Library
- Introduzione
- Installazione/Configurazione
- Costanti predefinite
- Esempi
- cURL Funzioni
- curl_close — Chiude una sessione CURL
- curl_copy_handle — Copy a cURL handle along with all of its preferences
- curl_errno — Restituisce il numero dell'ultimo errore
- curl_error — Restituisce una stringa contenente l'ultimo errore relativo alla sessione corrente
- curl_exec — Esegue una sessione CURL
- curl_getinfo — Ottiene informazioni relative a un determinato trasferimento
- curl_init — Inizializza una sessione CURL
- curl_multi_add_handle — Aggiunge un handle cURL ad un multi handle cURL
- curl_multi_close — Chiude un set di handle cURL
- curl_multi_exec — Esegue la sotto-connessione dell'handle cURL corrente
- curl_multi_getcontent — Restituisce il contenuto di un handle cURL se è impostato CURLOPT_RETURNTRANSFER
- curl_multi_info_read — Ottiene informazioni sui trasferimenti correnti
- curl_multi_init — Restituisce un nuovo multi handle cURL
- curl_multi_remove_handle — Rimuove un multi handle da un set di handle cURL
- curl_multi_select — Restituisce tutti i socket associati alla estensione cURL che possono essere "selected"
- curl_setopt_array — Set multiple options for a cURL transfer
- curl_setopt — Imposta una opzione per un trasferimento CURL
- curl_version — Restituisce la versione di CURL in uso
cURL
eflash at gmx dot net
05-Oct-2008 06:45
05-Oct-2008 06:45
cristianods at yahoo dot com
14-Aug-2008 03:53
14-Aug-2008 03:53
Tip for Installing cURL with AppServ development server on Windows
If you are running AppServ as a WAMP development environment on a Windows machine, you may experience difficulty installing cURL. Here are some helpful steps:
First go to the PHP directory and copy the following libraries to the windows/system32 dir.
ssleay32.dll
libeay32.dll
Open the php ini file and remove the ; from extension=php_curl.dll
Reboot your machine to load […]
