note 26519 added to ref.curl
| From: | mwartman at betterbuilt dot com | Date: | Sat, 02 Nov 2002 16:44:45 +0000 |
| Subject: | note 26519 added to ref.curl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38904@lists.php.net to get a copy of this message | ||
sorry. that was a misprint above. the secure string i am trying should have been
$ch = curl_init ("https://server.com/file.req");
$fp = fopen ("localfile.req", "a+");
curl_setopt ($ch, CURLOPT_SSLCERT, "privkey.pem");
curl_setopt ($ch, CURLOPT_SSLCERTPASSWD, "pass");
curl_setopt ($ch, CURLOPT_FILE, $fp);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
curl_close ($ch);
fclose ($fp);
anybody who has been able to transfer a file over https please respond. mwartman@betterbuilt.com
--
http://www.php.net/manual/en/ref.curl.php
http://master.php.net/manage/user-notes.php?action=edit+26519
http://master.php.net/manage/user-notes.php?action=delete+26519
http://master.php.net/manage/user-notes.php?action=reject+26519