AJAX & PHP Click-Counter with Flat File Storage (text file)

Log and display clicks on any HTML element. Counts are saved to a .txt file with PHP, while AJAX displays the increasing number in real time. No page refresh required!

PHP5 required. Works in modern browsers and IE8+

Clicked 2936 times.

Clicked 2088 times.

Clicked 1995 times.



More demos and snippets

Did you find this useful? There are more demos and code snippets this way.