RE: [PHP] counter using PHP or Javascript?
| From: | scott [gts] | Date: | Wed, 11 Jul 2001 16:41:42 +0000 |
| Subject: | RE: [PHP] counter using PHP or Javascript? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57420@lists.php.net to get a copy of this message | ||
of course ;)
try this method:
link to the counter with an IMG from your page
<IMG SRC="counter.php?name=pagename">
have counter.php increment a log file and
output an image showing the current number
of hits that "pagename" has gotten, so that
the IMG SRC will be digits.
(although, this is like reinventing the wheel,
there are plenty of good & free counter
programs out there)
check this one out:
http://www.muquit.com/muquit/software/Count/Count.html
> -----Original Message-----
> From: Zhu George-CZZ010 [mailto:George.Z.Zhu@motorola.com]
> Sent: Wednesday, July 11, 2001 12:42 PM
> To: php-general@lists.php.net
> Subject: [PHP] counter using PHP or Javascript?
>
>
> Hi,
>
> Is there a way to create a counter to count the number of accesses for
> a apecific page using PHP or Javascript?
>
> Thanks.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>