I need a web script that will let me insert a line of code on any website that shows the following:
* A world map (Google maps?) that indicates where all current visitors to the page in question are located, geographically. These indicators (flags?) should appear dynamically, in real-time, w/o having to refresh the browser. There should be a delay setting I can specify when calling this script to determine how long to display each indicator (i.e. 5 seconds, 60 seconds, etc.)
* Beneath the map, display a list of the visitors in a table format. The first column shows a graphical flag of their country, then the next column shows their country name, then the date and time of their visit. This should be sorted by most recent visitor first, and be updated dynamically, with the latest visitor's data fading in, pushing all the other visitor data below it. This should be configurable to control how many visitors' data should appear in this table (for example, 5 most recent, 20 most recent, etc.)
* Finally, the entire output of this should have a threshold setting, so that it will only be activated if the total # of live visitors exceeds X (i.e. 200). If the total # of visitors is below X at the time the page is initially loaded, no information should ever be displayed. However, if the total # >= X at the time the page is loaded, both elements above should be displayed, and at that point it doesn't matter if the total # dips below X.
This should be very easy for you to do if you know what you are doing.
must be compatible with PHP 4.x