downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

curl_copy_handle> <cURL İşlevleri
[edit] Last updated: Fri, 24 May 2013

view this page in

curl_close

(PHP 4 >= 4.0.2, PHP 5)

curl_closecURL oturumunu sonlandırır

Açıklama

void curl_close ( resource $ct )

cURL oturumunu sonlandırır ve ayrılmış özkaynakları serbest bırakır. Ayrıca, cURL tanıtıcısı ct silinir.

Değiştirgeler

ct

curl_init() işlevinden dönen bir cURL tanıtıcısı.

Dönen Değerler

Hiçbir değer dönmez.

Örnekler

Örnek 1 - Yeni bir cURL oturumunun ilklendirilmesi ve bir HTML sayfasının alınması

<?php
// Yeni bir cURL tanıtıcısı oluşturalım
$ct curl_init();

// URL'yi ve ilgili seçenekleri belirleyelim
curl_setopt($ctCURLOPT_URL"http://www.example.com/");
curl_setopt($ctCURLOPT_HEADER0);

// URL'yi tarayıcıya aktaralım
curl_exec($ct);

// cURL tanıtıcısını kapatıp sistem özkaynaklarını serbest bırakalım
curl_close($ct);
?>

Ayrıca Bakınız



add a note add a note User Contributed Notes curl_close - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites