source: trunk/Utilities/MaxMindGeoLite/Script/Test.js @ 48

Last change on this file since 48 was 47, checked in by roman, 12 years ago
File size: 368 bytes
Line 
1function EchoLocation(address, location) {
2  WScript.Echo(address + ": " + location.City + ", " + location.Country + "; " + location.Latitude + ", " + location.Longitude);
3}
4
5locations = new ActiveXObject("AlaxInfo.MaxMindGeoLite.Locations");
6EchoLocation("alax.info", locations.Item("alax.info"));
7EchoLocation("luxriot.com", locations.Item("luxriot.com"));
8
Note: See TracBrowser for help on using the repository browser.