curl的有关问题

WBOY
Release: 2016-06-13 10:34:05
Original
941 people have browsed it

curl的问题
$user_agent = "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1";
curl_setopt($ci, CURLOPT_USERAGENT, $user_agent); 


为什么我在IE浏览器里面获取
echo $_SERVER['HTTP_USER_AGENT'];
的时候不是上面设置的呢?

------解决方案--------------------
Firefox 浏览器嘛

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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template