note 8638 added to CURL, Client URL Library Functions
| From: | alexander dot beck at uni-konstanz dot de | Date: | Thu, 21 Sep 2000 23:33:30 +0000 |
| Subject: | note 8638 added to CURL, Client URL Library Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5294@lists.php.net to get a copy of this message | ||
the example here has an error !
Please replace line 6
curl_setopt ($ch, CURLOPT_INFILE, $fp);
with
curl_setopt ($ch, CURLOPT_FILE, $fp);
then you will have the output of $ch directed to the file $fp
http://www.php.net/manual/ref.curl.php