cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Perl WWW::Curl::Easy equivalent of PHP's CURLOPT_RETURNTRANSFER

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Nov 2009 13:37:30 +0100 (CET)

On Thu, 19 Nov 2009, admin_at_azuni.net 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
Received on 2009-11-19