I am not a professional programmer, just a weekend hacker that likes to fool around with the code while learning.
I have an auction web site with a pre-made auction package. I take pride in making minor changes to suite me and would like to be able to Map new visitors to my site against a 300px by 200px world map.
My auction package has an Html main page but calls various Perl programs to outline and define the page.
I have a file called usersonline.txt that records visitors to my site in this format: 1322136524/59.150.117.190 The number to the left is a time code and the right is the url.
A timer is set to delete an inactive entry after every 15 minutes.
What I think I need is a Javascript to continuously monitor my usersonline.txt file for any changes because my main page display for Visitors = ? is only updated upon each page refresh.
When a change is detected, I would need to somehow convert the url to longitude and latitude coodinates and then convert those coordinates to x,y pixel coodinates for placing a red blinking .gif dot on my world map.
The blinking dot would stop blinking after 15 minutes and remain red to mark the visit.
That's about it. Any ideas? I am willing to take it one step at a time.
Thanks for any help.
Hacker1
In reply to Mapping visitors to my site by Hacker1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |