PHP IP to Country

Let us talk about scripts, HTML, Perl, PHP, apache, etc.

PHP IP to Country

Postby Stevyn » Sat May 17, 2014 9:00 pm

Short description:
Detect the country and region of an IP address
It can detect the current user IP address and validate it to determine if it is from a public or private network.

The class can send a HTTP request to the IP2Country API to retrieve the country of the detected IP address.

Then it looks up internal arrays to determine if the country region is United States, Canada, Europe or Asia.

http://www.phpclasses.org/package/8563- ... dress.html
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Return to WEBMASTER CHAT



Who is online

Users browsing this forum: No registered users and 1 guest

cron