PHP Hit Counter With a Twist
$30-50 USD
Paiement à la livraison
I want to know the traffic ratios for two web pages in real-time.
There are two pages, [url removed, login to view] and [url removed, login to view], on different servers.
They are going to have basic counter code on them, such as
<img border="0" src="<http://domain/[url removed, login to view]>" width="1" height="1">
<img border="0" src="<http://domain/[url removed, login to view]>" width="1" height="1">
When ran, [url removed, login to view] will check the source IP against the list of ips on list1. If the IP is not present, it will be added to the end of list1, together with a time stamp. If the IP is already there, the associated time stamp with be updated.
The script [url removed, login to view] does the same thing for list2.
The lists can be stored as binary files or in a MySQL DB.
List1 and list2 will contain only hits that occurred within the last 24 hours. This number should be easily changed. This can be accomplished using a cronjob, if you wish.
The script [url removed, login to view] will output the ratio of list1 and list2 as a GIF (or, if not possible, PNG). 12 point Arial in black on white.
If list1 has 300 entries, and list2 has 4 entries then the image will display:
1:75
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Apache 1.3+
PHP 4+
Nº du projet : #3559773