(This session is being logged)

 

geoplugin_countryName; $CityName = $ipdat->geoplugin_city; $ContinentName = $ipdat->geoplugin_continentName; $Latitude = $ipdat->geoplugin_latitude; $Longitude = $ipdat->geoplugin_longitude; $CurrencySymbol = $ipdat->geoplugin_currencySymbol; $CurrencyCode = $ipdat->geoplugin_currencyCode; $Timezone = $ipdat->geoplugin_timezone; if (isset($_SERVER['HTTP_REFERER'])) { $refURL = $_SERVER['HTTP_REFERER']; } else { $refURL = "No referer URL"; } $logEntry = "» $time - $vis_ip - $RemoteHost - $page - $useragent - [Country:$CountryName City:$CityName Continent:$ContinentName Lat:$Latitude Long:$Longitude CurrencySymbol:$CurrencySymbol CurrencyCode:$CurrencyCode TimeZone:$Timezone] - $refURL \n"; file_put_contents( "visitors.log", $logEntry, FILE_APPEND | LOCK_EX ); ?>