$ip=$HTTP_GET_VARS["ip"];
if(substr($ip,0,7)=="192.168")
$iplocation="![](\"http://www.hcmuaf.edu.vn/nlu/data/image/nlu_logo.gif\")
LAN NongLam Univerity
Latitude:10.87233
Longitude:106.791122
Khu pho 6 - Phuong Linh Trung - Quan Thu Duc - TP.HCM - Viet Nam";
else
$iplocation =file_get_contents("http://api.hostip.info/get_html.php?ip=$ip&position=true");
echo $iplocation;
?>