The net's largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal
  New Listings
New Listings
Most Popular
Most Popular
Top Rated
Top Rated
Discussion
Discussion
Link to Us!
Link To Us
Search For:         
   
 
Categories

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
Remotely Hosted
Ruby on Rails
Tools and Utilities
Web Hosting
XML

Sponsor Links



Home :: PHP :: Scripts and Programs :: Miscellaneous Notes 

Hazard IP Country Detection Hits: 1611


Description:
This script basically detects the visitors IP Address and returns the country accordingly. Fairly simple to use. There is just one function currently but I've got plans to expand it further. When the function get_user_country is called it will detect the ip address of the visitor and return the country name, the 2 letter country code and the 3 letter country code for the ip address. Use it to detect the country of your visitors. You can use it to collect stats or display unique content based on the users country. Basically, all you need is a web server with PHP & MySQL installed and the IP-to-Country database distributed by WebHosting.info. The latest version of the database can be downloaded at http://ip-to-country.webh osting.info/downloads/ip- to-country.csv.zip This script was tested on RedHat(tm) Linux and Windows(tm) both with Apache as the webserver. The PHP version in use was PHP 5.1.6 and the MySQL version in use was MySQL 5.0.27


 Resource Specification
Platform(s): linux, windows, freebsd
Date Added: Apr 2, 2008
Last Updated: Nov 10, 2008
Author: Joe Jacobs


 Share


 License Information
License # 1:
  License Type: GPL Price: Free


Average Visitor Rating:     4.50 (out of 5)
Number of Ratings: 4 Votes

  Visitor ratings breakdown by period
  Last 7 Days 0 0 0 0 0 0.00
  Last Month 0 0 0 0 0 0.00
  Last Year 0 0 1 0 3 4.50
  Overall 0 0 1 0 3 4.50
  1 2 3 4 5 AVG
  Visitor Rating Totals
1 2 3 4 5


  Visitor Voting Booth

Average Member Rating: Not yet reviewed by any member....

You can be the FIRST one to write a review for Hazard IP Country Detection.

 Other Links by This Member  Contact author






 

Register | FAQ/Support | Contact Us | About Us | Getting Rated | Link to Us | Bookmark Us | Advertising Info | Terms of Use | Privacy Policy
Copyright © 2009 iNET Interactive. All rights reserved.
Other iNET Interactive Sites:
Web Hosting Talk | dBForums | Mac Forums | Hosting Catalog