PHP cURL problem

From: Date: Tue, 28 Aug 2001 21:42:21 +0000
Subject: PHP cURL problem
Groups: php.general 
Request: Send a blank email to php-general+get-64882@lists.php.net to get a copy of this message
I am using PHP 4.0.6 and when I run the following code I get nothing back except the error code 27 and a message saying SSL: couldn't create a context I can run the same thing from the command line and it works perfectly does anyone have any ideas on this? Thanks in advance for any help, Steve Dowell $q_auth = $login.":".$pw; $fp = fopen("c:Scan_files/test_10.xml","w"); $ch = curl_init("https://www.foo.com/msp/some_report_list.php"); curl_setopt($ch, CURLOPT_USERPWD,$q_auth); curl_setopt($ch, CURLOPT_FAILONERROR, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_FILE,$fp); curl_setopt($ch, CURLOPT_NOPROGRESS,0); curl_setopt($ch, CURLOPT_VERBOSE,1); $result=curl_exec ($ch); echo curl_errno($ch)."<br>"; echo curl_error($ch); curl_close ($ch); echo "result=".$result; $fp = fclose;

« previous php.general (#64882) next »