-
Notifications
You must be signed in to change notification settings - Fork 0
CurlMultiHandler :: execute()
Brian Boll edited this page Apr 23, 2018
·
3 revisions
$mch = new MultiCurlHandler();
$ch = new CurlHandler('http://example.com');
//Returns the result on success
$ch->setOption(CURLOPT_RETURNTRANSFER, true);
//Add the handle to the multi handler
$mch->addHandle($ch);
echo $mch->execute();No parameters
Returns TRUE on success or FALSE on failure. If CURLOPT_RETURNTRANSFER is set, it will return the result on success instead