Home > php教程 > php手册 > body text

显示访客的IP地址

WBOY
Release: 2016-05-25 16:51:41
Original
1208 people have browsed it

说明:这段代码是让访客看到自己的IP,把下面代码放到显示的位置即可以。

<?php echo ("Your IP is $REMOTE_ADDR");?>
Copy after login


永久链接:

转载随意!带上文章地址吧。

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template