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 4464 times.

Clicked 2890 times.

Clicked 2849 times.



More demos and snippets

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