curl_execPerform a cURL session
&reftitle.description;
mixedcurl_execresourcech
Execute the given cURL session.
This function should be called after initializing a cURL session and all
the options for the session are set.
&reftitle.parameters;
&curl.ch.description;
&reftitle.returnvalues;
&return.success; However, if the CURLOPT_RETURNTRANSFER
option is set, it will return
the result on success, &false; on failure.
&return.falseproblem;
Note that response status codes which indicate errors (such as 404
Not found) are not regarded as failure.
curl_getinfo can be used to check for these.
&reftitle.examples;
Fetching a web page
]]>
&reftitle.seealso;
curl_multi_exec