IP tracer/lookup CMS

rijans's Avatar, Join Date: Jul 2010
Go4Expert Member
Is there any CMS or PHP framework exist which will help me to make a IP checker website like whatismyipaddress.com
pein87's Avatar
Ambitious contributor
PHP Code:
= array('ip' => $_SERVER['REMOTE_ADDR'],'port_short' => substr($_SERVER['REMOTE_PORT'],0,2),'host' => gethostbyaddr($_SERVER['REMOTE_ADDR']),'browser_raw' => $_SERVER['HTTP_USER_AGENT'],'port_full' => $_SERVER['REMOTE_PORT']);
you can style this code and make it sexy but this is the underlining code used for ip chicken clones.

example usage
PHP Code:
"IP: " $userData['ip'] . "<br />" "Port: " $userData['port_short'] . "<br />" "Host: " $userData['host'] . "<br />" "Browser: " $userData['browser_raw'];