Home > PHP > Function > cURL > curl_multi_getcontent()

curl_multi_getcontent()

curl_multi_getcontent - Return the content of a cURL handle if

CURLOPT_RETURNTRANSFER
is set

Syntax

string curl_multi_getcontent (resource $ch)

Arguments

  • ch - A cURL handle returned by curl_init().

Description

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

Version

PHP 5

Return value

Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set.