ginoplusio on 12/03/09
Last Edited at 12/03/09 05:12am
function getIP() { $ip=""; if (getenv("HTTP_CLIENT_IP")) $ip = getenv("HTTP_CLIENT_IP"); else if(getenv("HTTP_X_FORWARDED_FOR")) $ip = getenv("HTTP_X_FORWARDED_FOR"); else if(getenv("REMOTE_ADDR")) $ip = getenv("REMOTE_ADDR"); else $ip = ""; return $ip;}
URL: http://www.barattalo.it/2009/12/03/how-many-users-are-connected/
Report this snippet Tweet
Comment:
You need to login to post a comment.