Home  >  Article  >  Backend Development  >  $_SERVER['script_url']的有关问题

$_SERVER['script_url']的有关问题

WBOY
WBOYOriginal
2016-06-13 10:11:01946browse

$_SERVER['script_url']的问题
公司项目中打印$_SERVER,有两个元素:[SCRIPT_URL] 和 [SCRIPT_URI]
但我在本机服务器根目录下新建了一个文件,里面也是打印$_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