You are here

How to add a visible Access Counter to web pages?

Visit ITS News No. 65
or
Insert the following line in the bottom of your html file before the lines </BODY> and </HTML>

<CENTER><P>
You are the <img src="http://web.hku.hk/cgi-bin/Count.cgi?df=UserName-FileName|dd=B|ft=2" align="absbottom"> visitor of this page since DATE<br>
</p></CENTER>

For personal webpages on the web.hku.hk server:
Substitute 'UserName' with your username on web.hku.hk, 'FileName' with any filename and 'DATE' with today's date.

For departmental webpages on the the web server cloud server:
You must request the Information Technology Services to create your access counter on the web server cloud server by sending an email to ithelp@hku.hk specifying your directory path and the desired counter name. Then follow the steps described above to insert the counter in your html file.

Service Category: