Date: 02-18-04 04:18
I want to put a hit counter on the index.html page of my website.
Previously I wrote a simple PHP script (counter.php), that counts the hits and returns the array of digits (pictures) as HTML <img ...> tags. No problem so far.
How do invoke the counter.php from the index.html?
My ISP puts some limitation on the structure of the web.
1. The web site's default page must be index.html (not index.php), so the php script cannot be inlined in the HTML code.
2. The php scripts must be executed in the ./cgi-bin directory, so the web site's default page cannot be there.
I'm completely puzzled with this so simple task, please help.
Thanks in advance