IP Lookup in PHP

A collection of PHP code snippets to get real time information (like location, currency, timezone etc.) for an IP address.

§ Find location of IP address in PHP

Get the geolocation (geographic location) of an IP address with an API. The example below uses json as the output format. To switch to a different format, replace json in the URL path below with other supported formats like csv, xml, yaml & jsonp.

Read More

Locate IP addresses on a Map

The bulk IP address location tool lets you lookup multiple IPs and view their location in a tabular format. Additionally, you can visualize the geographic distribution of the location on a map (currently Google Maps is supported).

Read More