Re: Perl WWW::Curl::Easy equivalent of PHP's CURLOPT_RETURNTRANSFER
Daniel Stenberg <[email protected]>
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 19 Nov 2009, [email protected] wrote: > Hello, I couldn't find a Perl mailing list, so excuse me for asking here. CURLOPT_RETURNTRANSFER was invented by the PHP binding author and is basically just a shortcut for appending all received data into a memory buffer. With the C API and basically all existing bindings as well (including the PHP one) you can use a write callback to append all data to a single buffer. -- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php