Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 php 中寻找一个允许将 IP 投入同一服务器的函数。
这就是我应该如何将他们的ip扔到页面中,所以我会听到什么功能设备可以定位人们的ip?
您在寻找远程客户端地址吗?
echo $_SERVER['REMOTE_ADDR'];