🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59193

Re: Counter for Web Server

#59193
From: David Nugent
Date: Sun, 25 Feb 1996 00:00
50 lines
2820 bytes
In article <4gghps$qqr@cassia.itd.uts.edu.au>,
	"U.T.S. Student At Broadway Campus." <nobody@acs.itd.uts.EDU.AU> writes:
>Hard-Net-Cafe 03 <hnc03@hnc01.computeng.com.au> wrote:
>>I think that this is the wrong group. But I run a small Web site using
>>Linux and a couple of my customers have asked for a counter on their 
>>page.
>>Anyone know the correct place to post this or the answer
>>Chris
>>please e-mail cdoherty@idx.com.au
>
>You can get a cool web counter from http://www.semcor.com/~muquit/ this 
>is where i got mine :)


I picked up and tried quite a few html counters, some of which
worked, some of which didn't, but all of them having problems of
one type of another. The main problem I found was that those that
did work ok required antique versions of perl (else they put
error messages into the html stream) or they produce xbitmaps or
xpixmaps which not all readers support. The one I did find that
did what I wanted presented very ugly fonts that made the resulting
counter look more like a 20-year old petrol pump guage rather
than an integral part of the page on which it was being displayed.
I also had difficulty following the source code which was poorly
commented and not well written (imho).

So I continued to look around in vain for a simple counter with
simple fonts in .gif format that could be offered to our customers
without having to pre-configure every single page counted before it
would be useful. Not finding it, I wrote Yet Another Web Counter. :)

You can find it at the URL:

  http://www.blaze.net.au/pub/counter.tar.gz

It runs as a cgi-bin and is attached (easily) to any web page
via the usual <img src=..> html tag. By setting the counter to
transparent fore and backgrounds, you can even count page
accesses 'invisibly'.

counter uses the gd 1.2 gif generator library by Tom Boutell,
which comes in the above file. It is configured to make as an ELF
shared library with the distribution since I thought it worthwhile
to use in other web image generator applications (and indeed it
has become *very* useful for that purpose).

-- 
David Nugent: davidn@blaze.net.au, davidn@unique.blaze.net.au
Unix/Linux/DOS/Win/Os2 Microsystem Technical Support [FOR HIRE!]
http://www.blaze.net.au/~davidn
Technical Details
Message-ID: <DnC4MB.A7I@blaze.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <310E5222.60AF@hnc01.computeng.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,d3893fc308897c7e
X-Google-Attributes: gid102983,public
From: davidn@sdev.blaze.net.au (David Nugent)
Subject: Re: Counter for Web Server
Date: 1996/02/25
Message-ID: <DnC4MB.A7I@blaze.net.au>
X-Deja-AN: 141030303
x-nntp-posting-host: sdev.blaze.net.au
sender: news@blaze.net.au (news)
references: <310E5222.60AF@hnc01.computeng.com.au>
organization: Unique Computing Development Labs
reply-to: davidn@unique.blaze.net.au
newsgroups: aus.computers.linux