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.
Bibliothèque d'URL client
- Introduction
- Installation/Configuration
- Constantes pré-définies
- Exemples
- Fonctions cURL
- curl_close — Ferme une session CURL
- curl_copy_handle — Copie une ressource cURL avec toutes ses préférences
- curl_errno — Retourne le dernier message d'erreur cURL
- curl_error — Retourne une chaîne contenant le dernier message d'erreur cURL
- curl_exec — Exécute une session cURL
- curl_getinfo — Lit les informations détaillant un transfert cURL
- curl_init — Initialise une session cURL
- curl_multi_add_handle — Ajoute une ressource cURL à un cURL multiple
- curl_multi_close — Termine un jeu de sessions cURL
- curl_multi_exec — Exécute les sous-requêtes de la session cURL
- curl_multi_getcontent — Retourne le contenu obtenu avec l'option CURLOPT_RETURNTRANSFER
- curl_multi_info_read — Lit les informations sur les transferts actuels
- curl_multi_init — Retourne un nouveau cURL multiple
- curl_multi_remove_handle — Retire un cURL multiple d'un jeu de cURL
- curl_multi_select — Retourne les sockets associées à cURL, pour utilisation
- curl_setopt_array — Fixe plusieurs options pour un transfert cURL
- curl_setopt — Définit une option de transmission cURL
- curl_version — Retourne la version courante de cURL
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 […]
