Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

curl close function syntax tag tutorial 2013





Alert! Connect with 10,000 Chating Online. Join Now

Php curl close () function

Write your php code

 
<?php ?>

Php Result


Your code below



(PHP 4 >= 4.0.2, PHP 5)

curl_close -- Close a CURL session

Syntax

void 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().

Php curl close Function syntax tag

curl close php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online



Php curl close syntax tutorial

php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.


Function index

Variables

Expressions

Operators

Control-Structures

Cookies

Array

Date & Time

Directory function

File

Image

Operators

Form data handling

Mathematics operators

Mail

Php Mysql

Network Functions

Strings

php tutorial guides,functions, classes, code examples and tags for creating simple dynamic site to mysql database driven sites
 
 
Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online