One of the most important options for using PHP’s cURL library is CURLOPT_RETURNTRANSFER. When set to true, curl_exec() will return the transfer as a string instead of outputting it out directly. This let’s you store it in a variable.
This entry was posted
on Sunday, June 1st, 2008 at 1:12 am and is filed under PHP.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.