Register
Your
gift
certificate
Here


city($remote); $isoCode= $record->country->isoCode ; // 'US' $CountryName= $record->country->name; $Chinese=$record->country->names['zh-CN']; $State=$record->mostSpecificSubdivision->name; $StateAbbr=$record->mostSpecificSubdivision->isoCode; $Suburb=$record->city->name; $POC=$record->postal->code; $lat=$record->location->latitude; $long=$record->location->longitude; $entrydate=date("Y-m-d"); $entrytime=date("H:i:s"); $agent = $_SERVER['HTTP_USER_AGENT']; $referer=$_SERVER['HTTP_REFERER']; $query_string=$_SERVER['QUERY_STRING']; $uri = $_SERVER['REQUEST_URI']; $lang =$_SERVER['HTTP_ACCEPT_LANGUAGE']; $dql="insert into stats(vis_ip, vis_agent, vis_lang, vis_ref, vis_date,vis_time, vis_url,query_string,country_code,CountryName,ChineseName,State,StateAbbr,Suburb,POC,latitude,longitude) values ('$remote', '$agent', '$lang', '$referer','$entrydate', '$entrytime', '$uri','$query_string','$isoCode','$CountryName','$Chinese','$State','$StateAbbr','$Suburb','$POC','$lat','$long')"; $result = mysql_query($dql); ?>