Home > Backend Development > PHP Tutorial > php怎么获取用户登录网站使用的端口

php怎么获取用户登录网站使用的端口

WBOY
Release: 2016-06-13 12:41:21
Original
972 people have browsed it

php如何获取用户登录网站使用的端口
标题:
php如何获取用户登录网站使用的端口
或者说
php如何获取用户连接到服务器时所使用的端口

内容 ***************************************************

在百度中查到说是用  $_SERVER['REMOTE_PORT'] 函数可以获取端口,我在本地php环境试了一下在我们登录或退出能获取我的端口,但是我东西移到我的服务器上,就获取不到,就大虾们帮忙解决下!感激不尽!!!





端口?服务器端口?用户端口
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