Re: cURL functions
| From: | Jason Wong | Date: | Thu, 12 May 2005 20:41:23 +0000 |
| Subject: | Re: cURL functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215077@lists.php.net to get a copy of this message | ||
On Friday 13 May 2005 02:54, Chris Bruce wrote:
> $ret = curl_setopt($ch, CURLOPT_HEADER, 0);
Try enabling the above or ...
> Does anyone know how I can take the binary result and force it to
> download as a JPG image?
... send an appropriate header before dumping the binary data.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
New Year Resolution: Ignore top posted posts