cURL on Windows
| From: | Zackary Wilson | Date: | Fri, 01 Feb 2002 21:44:59 +0000 |
| Subject: | cURL on Windows | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11789@lists.php.net to get a copy of this message | ||
I have installed the cURL module on windows, and now I'm ready to try
it out. I can get this code to work,
<?
$ch = curl_init ("http://www.php.net/");
$fp = fopen ("php_homepage.txt", "w");
curl_setopt ($ch, CURLOPT_FILE, $fp);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
curl_close ($ch);
fclose ($fp);
?>
but I am now trying to make a connection in https:// I need the windows
equivilant to this Unix code:
curl -d "birthyear=1905&press=OK" www.hotmail.com/when/junk.cgi
to be able to post to encrypted connections. Can anyone pelase help?
Zack