[ale] Hit Counter
Terry Bailey
terry at bitlinx.com
Wed Feb 14 16:03:53 EST 2007
You are correct. According to a person on a Perl group, IE doesn't support
XBM since version 6. I now have modified it, using text with spacing and
it is working just fine. Looks just about as good and is faster. There is
a problem, however. If I do something like this:
www.xxx.com/cgi-bin/counter.cgi it works great; but, if I embed into
another script it increments by two. Strange. Hopefully, I can find the
problem.
I
At 09:01 AM 2/14/2007, you wrote:
>Terry Bailey wrote:
> >
> > Sure. Here it is. Solving the problem would be nice.
>
>Off the cuff:
>
>* I'm pretty sure that IE isn't going to display an X11 bitmap image
>(Mozilla probably only does due to its ancient Netscape heritage)
>
>* the hard coded "$LOCK_XX" constants might be causing problems if the
>calls to lock and unlock weren't commented out; replace those with "use
>Fcntl qw( :flock )" and then use LOCK_SH() instead.
>
>* the way it's storing the digits is . . . erm . . . interesting
>(basically it's storing each column (1s, 10s, ..., 10ks) as a separate
>line and then doing kinda something odometer-ish with them), but I don't
>see any reason that'd cause problems right off
>
>
>That said, you'd probably be better off grabing something like the
>ImageCounter script from the nms project than trying to resurrect this.
>
>http://nms-cgi.sourceforge.net/scripts.shtml
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list