PHP Classes

Flag displayer: Display country flags selected with a form

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 1,569 All time: 2,505 This week: 191Up
Version License Categories
flags 1.0GNU General Publi...HTML, Geography
Description Author

This class can be used to display the flags of countries selected with a form.

It reads the country codes and identifiers from an external file. Then it generates the HTML for a form select input to let the user choose one of the world countries.

The class can return the country code, name and the URL of the flag image of the selected country.

Picture of Alf-Red
Name: Alf-Red <contact>
Classes: 9 packages by
Country: Switzerland Switzerland
Age: 50
All time rank: 872 in Switzerland Switzerland
Week rank: 553 Down6 in Switzerland Switzerland Down

  • screenshot.png
  Files folder image Files  
File Role Description
Plain text file flag.cls.php Class Class that display the flags
Plain text file flag_link.txt Data URL the get all the .png flags
Plain text file index.php Example example page
Plain text file land.txt Data all the country of the world

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,505
This week:191Up
User Ratings User Comments (1)
 All time