How-to articles, tricks, and solutions about $_SERVER
How to Get the Client IP Address in PHP
Often it is needed to collect clients’ IP addresses for security purposes or for tracking the site activity. Here, we will show you how to do it in PHP.