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
- 導入
- インストール/設定
- 定義済み定数
- 例
- cURL 関数
- curl_close — cURL セッションを閉じる
- curl_copy_handle — cURL ハンドルを、その設定も含めてコピーする
- 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 ハンドルの内容を返す
- curl_multi_info_read — 現在の転送についての情報を表示する
- curl_multi_init — 新規 cURL マルチハンドルを返す
- curl_multi_remove_handle — cURL ハンドルのセットからマルチハンドルを削除する
- curl_multi_select — cURL 拡張モジュールに関連付けられているすべてのソケットを取得し、「選択可能な」状態にする
- curl_setopt_array — CURL 転送用の複数のオプションを設定する
- curl_setopt — cURL 転送用オプションを設定する
- curl_version — cURL のバージョンを返す
cURL
eflash at gmx dot net
05-Oct-2008 05:45
05-Oct-2008 05:45
cristianods at yahoo dot com
14-Aug-2008 02:53
14-Aug-2008 02: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 […]
