本文操作环境:windows7系统、php7.1版、dell g3电脑
php curl 是啥?
php curl就是php中的数据传输神器。
php支持的由daniel stenberg创建的libcurl库允许你与各种的服务器使用各种类型的协议进行连接和通讯 。
libcurl目前支持http、https、ftp、gopher、telnet、dict、file和ldap协议。libcurl同时也支持https认证、http post、http put、 ftp 上传(这个也能通过php的ftp扩展完成)、http 基于表单的上传、代理、cookies和用户名+密码的认证。
php中使用curl实现get和post请求的方法
这些函数在php 4.0.2中被引入。
更多介绍请查看php手册中的《php curl》章节
以上就是php curl 是啥的详细内容。
