Latest web development tutorials

PHP curl_multi_getcontent function

PHP curl_multi_getcontent function

PHP Calendar Reference Manual PHP cURL Reference Manual

(PHP 5)

curl_multi_getcontent - If the CURLOPT_RETURNTRANSFER, it returns the acquired output text stream


Explanation

string curl_multi_getcontent ( resource $ch )

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


parameter

mh

By the curl_multi_init () returns multiple cURL handles.


return value

If the CURLOPT_RETURNTRANSFER, it returns the acquired output text stream.


PHP Calendar Reference Manual PHP cURL Reference Manual