Curl_init
(PHP 4 >= 4.0.2) Curl_init--Initialize a Curl session description
int curl_init ([string URL])
The Curl_init () function Initializes a new session, returns a curl handle for the Web site Building server script Class \phpphp user manual Fancyfunction.curl-setopt.html>curl_setopt (), Curl_ The exec (), and curl_close () functions are used. If an optional parameter is provided, then the CURLOPT_URL option is set to the value of this parameter. You can use the curl_setopt () function to set it manually.
Example 1. Initializes a new Curl session and retrieves a Web page
See also: Curl_close (), curl_setopt ()
http://www.bkjia.com/PHPjc/532355.html www.bkjia.com true http://www.bkjia.com/PHPjc/532355.html techarticle Curl_init (PHP 4 >= 4.0.2) Curl_init--Initializes a Curl session descriptor int Curl_init ([string URL]) curl_init () function Initializes a new session, returns a Curl Handle for Web site ...