Why is this needed?

As far as I know curl extension already prints to screen by default. The only 
instance where this maybe useful, is when making multiple request via the 
same handle and you want to print only the output of certain requests, which 
seems rather strange to me.

Ilia

On February 24, 2004 05:10 pm, Brian J. France wrote:
> I have already run this past Sterling, but figured I would make sure
> there are no other objections to applying this patch to both 4.3 and
> HEAD.
>
> It allows switching back to the standard output by calling:
>
> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
>
> Thanks,
>
> Brian

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to