Login   Register  
PHP Classes
elePHPant
Icontem

Language test by IP and Browser: Guess the user idiom finding the IP country

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-20 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 980 All time: 3,439 This week: 1,545Up
Version License PHP version Categories  
language_teste 1.0BSD License3.0Localization, HTTP, Web services
Description Author  

This class can guess the user idiom by finding the IP country or the browser idiom.

It can access to the hostip.info Web services API to determine the country of the network the user computer IP address belongs.

Alternatively it can the HTTP request Accept-language header to determine the idiom used by the the user browser.

Picture of Igor Herson Aquino de Franša
Name: Igor Herson Aquino de ... is available for providing paid consulting. Contact Igor Herson Aquino de ... .
Classes: 11 packages by
Country: Brazil Brazil
Age: 31
All time rank: 23816 in Brazil Brazil
Week rank: 123 Up9 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file languages.php Class class for detect language
Accessible without login Plain text file sample.php Example little sample of this class

 Version Control Unique User Downloads Download Rankings  
 0%Total:980All time:3,439
 This week:0This week:1,545Up