Klarinet Archive - Posting 000377.txt from 2000/01

From: charette@-----.org
Subj: Re: [kl] OT: Re: [kl] record collections & broadcasts ...
Date: Wed, 12 Jan 2000 14:43:59 -0500

>On an OT note, do you mind sharing with me how to code a counter in HTML? There's a lovely little (inconspicuous) counter on the bottom of this page which doesn't make a song and dance about keeping count. Of course if anyone else can point me in the right direction...

Ian,
HTML can't do a counter - only server side programming can. I use a combination of things on Sneezy to do page hit counting (that site you visited was on Sneezy):

mod_cntr (a module in the Apache Web server that counts hits automatically) and
mod_php3 (a module in the Apache Web server that supports a language called php3)

The counter gets displayed by this tiny snippet of code:

<? print $URL_COUNT; ?>

but I'll bet your ISP doesn't have such a simple way to do it :^(

Thanks for stopping by the site. If you know anyone wanting to invest in the Internet - send them by me :^)

Cheers,
mark C.

---------------------------------------------------------------------
Unsubscribe from Klarinet, e-mail: klarinet-unsubscribe@-----.org
Subscribe to the Digest: klarinet-digest-subscribe@-----.org
Additional commands: klarinet-help@-----.org
Other problems: klarinet-owner@-----.org

   
     Copyright © Woodwind.Org, Inc. All Rights Reserved    Privacy Policy    Contact charette@woodwind.org