Home  >  Article  >  Backend Development  >  关于$url = $_SERVER["REQUEST_URI"]的有关问题

关于$url = $_SERVER["REQUEST_URI"]的有关问题

WBOY
WBOYOriginal
2016-06-13 10:57:381141browse

关于$url = $_SERVER["REQUEST_URI"]的问题
前几天$url = $_SERVER["REQUEST_URI"];还能正常回去url的值比如(about.php?cid=44)能全部获取到
可今天使用发现值为空,这是为什么啊,我在php.ini里面配置吗?我的IIS+php5.16


------解决方案--------------------
跟服务器有关系 ,iis不能获取,apache能获取..呵呵,好像是这样
------解决方案--------------------
var_dump($_SERVER) 打印出来,你会知道的

Statement:
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