Archive for June 1st, 2008

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.

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