Home > Backend Development > PHP Tutorial > host是否带port的有关问题讨论

host是否带port的有关问题讨论

WBOY
Release: 2016-06-13 12:44:25
Original
1009 people have browsed it

host是否带port的问题讨论
$_SERVER['HTTP_HOST'] 得到的host是带端口号的,理论上讲host为主机名,不应该带端口号。

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