PHP中curl如何设置header?
PHP中curl如何设置header?

在PHP扩展库curl中可以通过函数“curl_setopt()”设置选项常量“CURLOPT_HTTPHEADER”,来设置header,使用时将header数据传入第3个参数即可。
推荐教程:《PHP》
网站名称:PHP中curl如何设置header?
文章路径:http://www.jxjierui.cn/article/cgjgde.html


咨询
建站咨询
