Visitor Flag Counter

Visitor Flag Counter

Live Preview


The visitor flag counter is a PHP script that generates an image showing the number of visitors to your site, based upon their country. Unlike other popular free scripts, this gives you the ability to change many attributes within the images, such as changing:
  • Fonts
  • Font sizes
  • All colours
  • Column numbers
  • Limits on flags shown
  • Titles
  • ...and practically everything

The script has been built with easy modification in mind, using variables to allow the image to be changed easily. The files used incorporate PHP , GD, MySQL and htaccess to allow a user-friendly, server-friendly experience.

Details about the installation

Installation should take around 5-10 minutes, and requires a server with access to:
  • PHP
  • MySQL
  • GD (enabled by default)
  • Cron Jobs

The installation is designed to run as smoothly as possible, which is why an installation file is provided (which will check for GD, database connection details, installation of the tables.. etc)

As an API is used for an external database, the script must be installed on a valid IP/domain (not localhost)