不同浏览器下,$_SERVER数组顺序为何不一样

WBOY
Release: 2016-06-13 12:03:08
Original
762 people have browsed it

不同浏览器下,$_SERVER数组顺序为什么不一样
print_r($_SERVER)试试,数组排序在chrome和ie下不同,为什么


------解决方案--------------------
$_SERVER 中以 HTTP_开头的键都是请求方传递过来的
排列的次序不同应该是请求的 http 协议头中排列次序有关

不过这又什么关系呢?

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!