L

Locator

By Steve Hamblett (shamblett)


Returns country information in ISO 3166 format for either a supplied IP address or the incoming URL IP address. Fields returned are 2 and 3 letter country codes, the country name and the MODX country identifier as defined in the countries.inc files. An error code is also returned if the lookup failed.

This is intended for use on form based pages where country auto-detection is required, especially in the case where the country is being stored in the MODX User tables.

This is a simple table lookup, no web service or DNS interaction is performed.

See the 'locator' snippet for more detailed usage.

 

Steve Hamblett


New in Locator 1.0.0

There are no release notes for this version.

More

Information

Released
March 11, 2012
Supported Versions
2 – Current
Downloads
1,280
License
GPLv3

More from Steve Hamblett

Provisioner

This component allows the provisioning of a revolution installation…

View
Dilbert

Having a bad day! A Dilbert always improves your outlook. A simple…

View
M
Magento Store Product Lister

A package that interfaces to Magento stores using the provided SOAP…

View
frontpage

Frontpage is a front end content editor and creator. It's intended…

View