PHP curl_multi_getcontent Function

PHP Calendar 参考手册PHP cURL Reference Manual

(PHP 5)

curl_multi_getcontent — Return the text stream of the fetched output if CURLOPT_RETURNTRANSFER is set


Description

string curl_multi_getcontent ( resource $ch )

If CURLOPT_RETURNTRANSFER is set as an option to a specific handle, then this function will return the content fetched by that cURL handle in the form of a string.


Parameters

mh

A cURL multi handle returned by curl_multi_init().


Return Value

If CURLOPT_RETURNTRANSFER is set, the text stream of the fetched output is returned.


PHP Calendar 参考手册PHP cURL Reference Manual

Other Extensions