• Hi,

    I’ve created a PHP-file to be able to log visitor-information into a database. Another file, the front-end, shows the statistics. For an example, please visit this site (front-end).

    To collect the user-information, a couple of php-lines have to be executed for every page-visit. I’ve edited one of my template files and added the PHP-code.

    But I think it’s nicer to deal with the code by using a plugin. So I want to write a plugin by myself. The only thing the plugin has to do is the following:

    – For every visit: run a couple of lines of PHP-code.

    How to create such a plugin?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Statistics plugin’ is closed to new replies.