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


Reply via email to