php curl is a data transfer artifact in PHP; the libcurl library created by Daniel Stenberg supported by PHP allows you to connect and communicate with various servers using various types of protocols.
The operating environment of this article: Windows 7 system, PHP version 7.1, DELL G3 computer
What is php curl?
php curl is the data transmission artifact in php.
PHP-powered libcurl library created by Daniel Stenberg allows you to connect and communicate with a variety of servers using various types of protocols.
libcurl currently supports http, https, ftp, gopher, telnet, dict, file and ldap protocols. libcurl also supports HTTPS authentication, HTTP POST, HTTP PUT, FTP upload (this can also be completed through PHP's FTP extension), HTTP form-based upload, proxy, cookies and username and password authentication.
How to use cURL to implement Get and Post requests in PHP
These functions were introduced in PHP 4.0.2.
For more introduction, please see the "PHP cURL" chapter in the PHP manual
The above is the detailed content of what is php curl. For more information, please follow other related articles on the PHP Chinese website!