From The Blog

PHP: client's IP address

27 October 2012, in PHP

The IP Address of the client who sent HTTP request is stored in the server variable:

$_SERVER['REMOTE_ADDR'];



Post a Comment