|
This is just a plain and
This is a very simple website
The function UpdateHitCount
simple text page access
counter script written in
gets the global variable
counter written in PHP which
PHP3. It uses
MySQL to
$pageHitCount, increments
writes to a file.
store the count data and can
it, and actually writes the
keep a unique count for each
new value back into
page it
is used on, or it
$filename, as the first line
can use the same counter for
of PHP code. By storing the
all pages, or a
page's hits in itself, you
combination
of both.
can eliminate the need for
another external file, or a
database, containing just
page hits.
Date: Apr, 28 2000 Date: Oct, 10 1999 Date: Jul, 03 1999 |