|
Counters on Personal Web Pages
If you have a personal Web page at
http://www.personal.psu.edu,
you can use the following code to include a text counter on
your web page:
This page has been accessed <!--#exec cgi="cgi-bin/counter-nc"--> times since March 4.
(The code is typed all one one line.)
The end result will be a line that looks similar to this:
This page has been accessed
10 times since March 4.
Counters on Department Web Pages
If you have a department
home page and you want to use one of Penn State's counters,
you must use a graphical counter. The text counter for
personal web pages (as described above) will not work on department
pages. There are many different graphical counters that
you can use; see Penn
State's Script Page for more details. Here's one example
of code that can be used for a graphical counter:
This page has been accessed
<img src=
"http://www.personal.psu.edu/cgi-bin/Count.cgi">
times since March 4.
(The code is typed all one
one line.) The end result will be a line that looks similar
to this:
This page has been accessed
times since March 4.
|