go top

MEGA Sale

  • Colection of 65 PHP scripts for $4.29 each

Banner and Link Click Counter

With this free Banner and Link Click Counter PHP script you can count how many times each link on your website is clicked. You can use to count clicks on banners, images or text links.

Version: 1.0 / Downloads: 5,449

Banner and Link Click Counter

Share on:

SPECIAL OFFER

Get 65 PHP scripts in a bundle for $4.29 each!

*For a limited time only get the best deal ever on the market!

View Offer

Description

MySQL table is used to store information about all links and click count for each of them.

CREATE TABLE IF NOT EXISTS `banner_clicks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`url` varchar(250) NOT NULL,
`clicks` int(11) NOT NULL,
PRIMARY KEY (`id`)
)

Each link has unique ID which is used in the links you put on your website. Instead of creating an external link on your website like

<a href="http://www.google.com">Google</a>

you can just add http://www.google.com in the MySQL table and then use the ID for it to create a new link

<a href="click.php?id=1">Google</a>

Now when this link is clicked the click.php script will update the clicks count value for Google.com link and will redirect you to http://www.google.com

There is also a stats.php page which will show all the links in your MySQL database and click count for each of them.

Download

To download Banner and Link Click Counter for FREE you need to login your account.

Share on:

How to Install

Follow these steps to run this Link and Banner click counter free php script

1) open database.sql and import all the MYSQL queries in your database. There is a sample record added to the database too.

2) edit config.php file and set MySQL login details to connect to your database

3) using your web browser open example-page.html page and you will see a link. Once you click on that link you will be taken to PHPjabbers.com website home page and your click will be counted. Every time you click on a link the count will increase

4) using your web browser open stat.php and you will see a table with all links in the MySQL table and click count for each one

Need CMS to manage your listings?

Review our classified ads scripts:

  • Auto Classifieds Script

    Auto Classifieds Script

    A highly customizable PHP classifieds script for online car dealerships.

    User License
    $39.00
  • Property Listing Script

    Property Listing Script

    A multivendor real estate PHP script for managing real estate classifieds websites.

    User License
    $39.00
  • Vacation Rental Script

    Vacation Rental Script

    Web-based vacation rental software for managing property rental classified ads online.

    User License
    $49.00

Commercial PHP Scripts

Buy all 65 scripts in a bundle for $4.29 each. Learn more