PHP CURL function

Source: Internet
Author: User

PHP CURL function

The following includes a list of PHP curl functions:

function Description
Curl_close () Closes a curl session.
Curl_copy_handle () Copy a curl handle and all of its options.
Curl_errno () Returns the last error number.
Curl_error () Returns a string that secures the most recent error in the current session.
Curl_escape () Returns an escaped string that is URL-encoded for the given string.
Curl_exec () Performs a curl session.
Curl_file_create () Creates a Curlfile object.
Curl_getinfo () Gets the information for a Curl connection resource handle.
Curl_init () Initializes a curl session.
Curl_multi_add_handle () Adds a separate curl handle to the curl batch session.
Curl_multi_close () Closes a set of curl handles.
Curl_multi_exec () The child connection that runs the current CURL handle.
Curl_multi_getcontent () If Curlopt_returntransfer is set, the text stream of the obtained output is returned.
Curl_multi_info_read () Gets the related transport information for the currently resolved curl.
Curl_multi_init () Returns a new curl batch handle.
Curl_multi_remove_handle () Removes a handle resource from the Curl batch handle resource.
Curl_multi_select () Wait for active connections in all Curl batches.
Curl_multi_setopt () Set up a batch curl transfer option.
Curl_multi_strerror () Returns a string literal that describes the error code.
Curl_pause () Pause and resume the connection.
Curl_reset () Resets all options for the Libcurl session handle.
Curl_setopt_array () Bulk setup options for the Curl transfer session.
curl_setopt () Set a curl transfer option.
Curl_share_close () Close the curl shared handle.
Curl_share_init () Initializes a curl shared handle.
Curl_share_setopt () Sets the curl Transfer option for a shared handle.
Curl_strerror () Returns a string description of the error code.
Curl_unescape () Decodes a URL-encoded string.
Curl_version () Gets the Curl version information.

PHP CURL function

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.