curl_closecurl_close (PHP 4 >= 4.0.2, PHP 5) curl_close -- Close a CURL session Descriptionvoid curl_close ( resource ch )
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 options curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_HEADER, 0);
// grab URL and pass it to the browser curl_exec($ch);
// close curl resource, and free up system resources curl_close($ch); ?>
|
|
See also: curl_init().
|

 |
Links |
|
iPowerWeb $7.95/mo- 50GB Diskspace
- 750GB Bandwidth
- CGI Perl PHP SSI SSL MySQL
- Free Domain Name
Bluefish $6.95/mo- 6GB Diskspace
- 100GB Bandwidth
- PHP Perl MySQL SSI CGI SSL
- Free Domain
- No Setup Fees
- No Hidden Fees
StartLogic $5.95/mo- 200GB Diskspace
- 2000GB Bandwidth
- Host 10 Domains
- CGI PHP MySQL
- eCommerce Enabled
- 30 Day Money Back Guarantee
|
 |



 |
Partners |
|
|
 |

|