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