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.
Функции CURL
- Введение
- Установка и настройка
- Предопределенные константы
- Примеры
- CURL — Функции CURL, Client URL Library
- curl_close — Завершает сеанс CURL
- curl_copy_handle — Copy a cURL handle along with all of its preferences
- curl_errno — Возвращает код последней ошибки
- curl_error — Возвращает строку с описанием последней ошибки
- curl_exec — Выполняет запрос CURL
- curl_getinfo — Возвращает информацию о последней операции
- curl_init — Инициализирует сеанс CURL
- curl_multi_add_handle — Добавляет обычный cURL дескриптор к набору cURL дескрипторов
- curl_multi_close — Закрывает набор cURL дескрипторов
- curl_multi_exec — Выполняет операции с набором cURL дескрипторов
- curl_multi_getcontent — Возвращает результат операции, если был установлен параметр CURLOPT_RETURNTRANSFER
- curl_multi_info_read — Возвращает информацию о текущих операциях
- curl_multi_init — Создает набор cURL дескрипторов
- curl_multi_remove_handle — Удаляет cURL дескриптор из набора cURL дескрипторов
- curl_multi_select — Возвращает сокеты, созданные модулем cURL
- curl_setopt_array — Set multiple options for a cURL transfer
- curl_setopt — Устанавливает параметр для сеанса CURL
- curl_version — Возвращает версию 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 […]
