PHP4 User manual: Function-crul-curl_init_php Tutorial

Source: Internet
Author: User
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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.