Home > php教程 > php手册 > body text

CURL获取http对答头信息

WBOY
Release: 2016-06-06 19:42:55
Original
993 people have browsed it

CURL获取http应答头信息 CURL获取http应答头信息,应答的http头里面有多项数据,可是通过CURLOPT_HEADERFUNCTIONCURLOPT_HEADERDATA只能获取其中的一条,有没有方法获取多条信息,谢谢 ------解决思路---------------------- 你直接用这个CURLOPT_HEADER可以

CURL获取http应答头信息
CURL获取http应答头信息,应答的http头里面有多项数据,可是通过CURLOPT_HEADERFUNCTION    CURLOPT_HEADERDATA只能获取其中的一条,有没有方法获取多条信息,谢谢
------解决思路----------------------
你直接用这个CURLOPT_HEADER 可以不?
------解决思路----------------------
curl_getinfo()
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!