Logging visitors ip adresses

Hello guys, i’m writing this topic so that someone can help me understand what i’m doing wrong.
I’ve created a website for a esports team using a free template with a couple of changes and I would like to log visitors ips using this github script.
I’d like to know how to implement it to the website.
Thanks in advance.

Hi. You should just be able to place the code from logger.php at the top of all your pages you’d like to track IP’s on. However, you must make sure that your files have a .php extension, as this is a PHP script and will not work on files with a .html extension. Let us know if you have any other questions!

This topic was automatically closed after 19 hours. New replies are no longer allowed.