Ajax Download Counter

Ajax Download Counter Created by mspyratos. This templates have specific characteristics, namely: An Asynchronous Download Counter using PHP, MySQL and .

You can use this Ajax Download Counter on Php scripts category for ajax download counter, download counter, jquery download counter and another uses.

Ajax Download Counter
© Copyright by mspyratos

Main Features:

  • Video preview resolution: None
  • Software framework: None
  • Software version: None
  • Compatible browsers: IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome
  • Files included: HTML, PHP
  • High resolution: None

An Asynchronous Download Counter using PHP, MySQL and jQuery.

New v2.0 Available

  • Converted to jQuery Plugin
  • Very Easy Implementation
  • More Options for Customized Results
  • Now Supports Multiple Downloads on the Same Page

Visit the New Guide which also lists all the available Options.


Ajax Download Counter counts and displays asynchronously the number of downloads (or clicks) of a particular file (or link). No need to know how to code.

Live Demo

View a demo and see the counter in action.

Main Features

  • Counts Downloads/Clicks by Storing the Data Into the Database
  • Retrieves and displays the Total Number of Downloads
  • Supports Multiple Downloads on the Same Page
  • No Page Refresh is Needed for Storing and Displaying
  • Prevents Duplicate Counting From the Same User
  • Easy Options to Modify Default Functionality


  • Uses PDO to Connect to the Database
  • Supports the HTML5 data-* Attribute for ID and Name Retrieval

Installation Instructions

Add a class and data-id to your download link, fill your database credentials in counter.php file and then from within your page, link to jquery.counter.js file. Optionally set your own Options. Done!

Visit the Step by Step guide, which is also included in the plugin’s folder.

Server Requirements

  • PHP 5.x or later
  • MySQL 4.x or later (Requires one Active Database)
  • jQuery 1.5 or later