PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Ettore Moretti   PHP Click Counter Database   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Click Counter Database
Generate links and keep track of clicks on them
Author: By
Last change:
Date: 8 years ago
Size: 525 bytes
 

Contents

Class file image Download

ClickCounter

ClickCounter is a PHP class that allows you to control the number of visitors who clicked on certain links. Useful for statistics on navigation and \ or downloading files.

How use it

To use the class will need, call the static method getHref class CCounter, passing as the only argument the link Example:


If the link is unreachable, the class will direct the browser to the 404 page indicated in configurations.