English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and Examples of PHP curl_multi_getcontent() Function

PHP CURL Reference Manual

(PHP 5)

curl_multi_getcontent — Returns the obtained output text stream if CURLOPT_RETURNTRANSFER is set

Syntax

string curl_multi_getcontent ( resource $ch )

If CURLOPT_RETURNTRANSFER is set as an option to a specific handle, this function will return the content obtained by that CURL handle in string format.

Parameters

mh

CURL multiple handles returned by curl_multi_init().

Return Value

If CURLOPT_RETURNTRANSFER is set, the obtained output text stream is returned.

PHP CURL Reference Manual