Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Content Management System (http://www.go4expert.com/forums/content-management-system/)
-   -   IP tracer/lookup CMS (http://www.go4expert.com/forums/ip-tracer-lookup-cms-t25928/)

rijans 28May2011 20:36

IP tracer/lookup CMS
 
Is there any CMS or PHP framework exist which will help me to make a IP checker website like whatismyipaddress.com :confused:

pein87 14Jul2011 14:53

Re: IP tracer/lookup CMS
 
PHP Code:

<?php
$userData 
= 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:

<?php
include("ipclone.php");
echo 
"IP: " $userData['ip'] . "<br />" "Port: " $userData['port_short'] . "<br />" "Host: " $userData['host'] . "<br />" "Browser: " $userData['browser_raw'];
?>



All times are GMT +5.5. The time now is 08:30.