(PHP 4 >= 4.0.2, PHP 5)
This function closes a CURL session and frees all resources. The CURL handle, ch, is also deleted.
Example 1. Initializing a new CURL session and fetching a webpage
<?php// create a new curl resource$ch = curl_init();// set URL and other appropriate optionscurl_setopt($ch, CURLOPT_URL, "http://www.example.com/");curl_setopt($ch, CURLOPT_HEADER, 0);// grab URL and pass it to the browsercurl_exec($ch);// close curl resource, and free up system resourcescurl_close($ch);?>
See also: curl_init().
Hosting by: Hurra Communications Ltd.Generated: 2007-01-26 18:00:17