As a relative newbie, I would think that:
- you'd need to be calling a .pl rather than .html
- when called the page would have to open a file which includes a current count
- increment that value
- write value back to file
- display that value- either as straight text or use some routine to output graphical equivalents of count
of course the page would have to be displaying all the other content as well.
I know this maybe a good learning exercise, but in real life there are plenty of sites that provide this kind of thing for free
And of course, it may be better to do this through some other solution i.e. javascript (don't know if this would actually be possible)
|