PHP cURL

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.

Leave a Reply

You must be logged in to post a comment.

Powered by WordPress
Entries (RSS) and Comments (RSS).