: Web |
Adding counters and other dynamic elements to pages By making use of server-side includes (SSI) you can have bits of text in your document that change each time it is accessed. Keeping Track of How Many Visits to a Page Using server-side includes you include a file that runs a program to keep a track of how many times that page has been accessed. You do this in the following manner:
produces
Hostname of Visitor You can include in your document the hostname of the person accessing your page. Here is an example of the syntax:
produces
Last Updated You can show when your web page was last updated by using the following code:
produces
Here is a list of other SSI variables. |