I have created the php to gather simple statistics on a web site and find that any program that I looked at actually gathers info on yours as well as giving stats to you.
Creating the program is easy but I need a trigger for it. It will require an insert unless someone knows of a common server trigger. I can't look at logs as sites vary in what they make available.
I am reasonable at html but I have not cracked a way yet. One option albeit a bit of overkill is to put the php on the page and change the extension. I am hoping for a simpler method I can use.
I will give the finished version to anyone who solves it for me,
I have attached a program to demonstrate whats possible. It will only work in Wamp or online