PHP: curl_close - Manual in Deutsh
PHP: curl_close - Manual in French
PHP: curl_close - Manual in Polish

You Are At PHP: curl_close - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

curl_close

(PHP 4 >= 4.0.2, PHP 5)

curl_close -- Close a cURL session

Description

void curl_close ( resource ch )

Closes a cURL session and frees all resources. The cURL handle, ch, is also deleted.

Parameters

ch

A cURL handle returned by curl_init().

Return Values

No value is returned.

Examples

Example 1. Initializing a new cURL session and fetching a web page

<?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()
curl_multi_close()

szkolenia dla księgowych kursy księgowe księgowość
Solidnie i tanio przeprowadzki kraków transport mebli, profesjonalnie
kalkulator kredytu hipotecznego
Prawo jazdy Szczecin
Oryginalne perfumy w promocyjnych cenach

Another Useful functions:


function.curl-version | function.curl-setopt | function.curl-setopt-array | function.curl-multi-select | function.curl-multi-remove-handle | function.curl-multi-init | function.curl-multi-info-read | function.curl-multi-getcontent | function.curl-multi-exec | function.curl-multi-close | function.curl-multi-add-handle | function.curl-init | function.curl-getinfo | function.curl-exec | function.curl-error | function.curl-errno | function.curl-copy-handle | function.curl-close |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.