ad

Saturday, 25 April 2015

Post advertisement banner on your site and track the impressions!

Well thought I'd write this little script, it essentially stores/tracks hits/impressions. Has the option to show both total and unique hits. Creates table itself.

How to get it working:
1. Go to your DB management  and create database, name it whatever you like.
2. Get connected to database. Just edit info in connection_to_db.php file.
3. Change info as desired.File: index.php






4. You're good to go!
If you want to see the hits without visiting database just uncomment every line of code and it will start showing.

Git repository.
https://github.com/phpdevsami/Impressions-tracker



No comments:

Post a Comment