<slide title="Basic cURL options">
<blurb>
Using cURL starts with a set of three functions, %curl_init()%,
%curl_setopt()% and %curl_exec()%.
</blurb>
<example fontsize="1.2em"><![CDATA[<?php
$ch = curl_init ('http://www.php.net/');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec ($ch);
curl_close ($ch);

print $data;
?>]]></example>

</slide>