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

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

WBOY
Release: 2016-06-13 13:07:41
Original
1054 people have browsed it

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


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

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