Friday, October 19, 2012

Get user IP with PHP

How to get user ip with php?

Example:
$userIp = $_SERVER['REMOTE_ADDR'];

echo $userIp;