PHP Classes

Flag displayer: Display country flags selected with a form

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 1,577 All time: 2,498 This week: 488Up
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: 52
All time rank: 862 in Switzerland Switzerland
Week rank: 216 Down3 in Switzerland Switzerland Down

Screenshots (1)  
  • screenshot.png
  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,577
This week:0
All time:2,498
This week:488Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1607