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.
Cliente da URL Library
- Introdução
- Instalação/Configuração
- Constantes pré-definidas
- Exemplos
- Funções da cURL
- curl_close — Fecha uma sessão cURL
- curl_copy_handle — Copia o manipulador cURL com todas as suas preferências
- curl_errno — Retorna o último número de erro
- curl_error — Retorna uma string contendo o último erro da sessão atual
- curl_exec — Executa uma sessão CURL
- curl_getinfo — Obtém uma informação sobre uma transferência específica
- curl_init — Inicializa uma sessão cURL
- curl_multi_add_handle — Adiciona um manipulador cURL a um multi manipulador cURL
- curl_multi_close — Fecha um conjunto de manipuladores cURL
- curl_multi_exec — Executa a sub-conexão do atual manipulador cURL
- curl_multi_getcontent — Retorna o conteúdo de um manipulador cURL se CURLOPT_RETURNTRANSFER é usado
- curl_multi_info_read — Get information about the current transfers
- curl_multi_init — Retorna um novo multi manipulador cURL
- curl_multi_remove_handle — Remove a multi handle from a set of cURL handles
- curl_multi_select — Obtem todas as sockets associadas com a extensão cURL, podendo assim ser "selecionada"
- curl_setopt_array — Set multiple options for a cURL transfer
- curl_setopt — Define uma opção para a transferencia cURL
- curl_version — Obtém informação da versão da cURL
cURL
eflash at gmx dot net
05-Oct-2008 10:45
05-Oct-2008 10:45
cristianods at yahoo dot com
14-Aug-2008 07:53
14-Aug-2008 07: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 […]
