Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
curl_close »
« curl 基础例子
PHP 手册
函数参考
其它服务
cURL
Change language:
English
Chinese (Simplified)
Other
cURL 函数
目录
curl_close
— 关闭 cURL 会话
curl_copy_handle
— 复制 cURL 句柄及其所有选项
curl_errno
— 返回最后一次的错误代码
curl_error
— 返回当前会话最后一次错误的字符串
curl_escape
— 使用 URL 编码给定的字符串
curl_exec
— 执行 cURL 会话
curl_getinfo
— 获取一个cURL连接资源句柄的信息
curl_init
— 初始化 cURL 会话
curl_multi_add_handle
— 添加普通 cURL 句柄到 cURL 多句柄
curl_multi_close
— 关闭一组 cURL 句柄
curl_multi_errno
— 返回上一次 curl 批处理的错误码
curl_multi_exec
— 运行当前 cURL 句柄的子连接
curl_multi_getcontent
— 如果设置了 CURLOPT_RETURNTRANSFER,则返回 cURL 句柄的内容
curl_multi_info_read
— 获取当前传输的有关信息
curl_multi_init
— 返回新 cURL 批处理句柄
curl_multi_remove_handle
— 从一组 cURL 句柄中移除一个多句柄
curl_multi_select
— 在任意 curl_multi 连接上等待活动
curl_multi_setopt
— 设置 cURL 并行选项
curl_multi_strerror
— 返回字符串描述的错误代码
curl_pause
— 暂停和取消暂停连接
curl_reset
— 重置一个 libcurl 会话句柄的所有的选项
curl_setopt_array
— 为 cURL 传输会话批量设置选项
curl_setopt
— 设置 cURL 传输选项
curl_share_close
— 关闭 cURL 共享句柄
curl_share_errno
— 返回共享 curl 句柄的最后一次错误编号
curl_share_init
— 初始化 cURL 共享句柄
curl_share_setopt
— 为 cURL 共享句柄设置选项
curl_share_strerror
— 返回错误编号对应的错误消息
curl_strerror
— 返回错误代码的字符串描述
curl_unescape
— 解码指定 URL 编码的字符串
curl_upkeep
— Performs any connection upkeep checks
curl_version
— 获取 cURL 版本信息
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.