Whos On Now?
"I don't know! (THIRD BASE!)" |
[D)etails [D)ownload
[D)uplicates [D)emonstration
[D)enial
Details:
Current version is 1.2
- added support for hours, so it can now print "within the past 2 hours"
or "within the past 5 hours and 13 minutes" properly. (once you go over a
minute, seconds are not displayed).
Past updates:
- added flock() file locking
- incorporated enhancements from Chris Overstreet to let the output be more
customizable ("There have been 12 net junkies on within the past 5 minutes.")
- added a welcome back option ("Weren't you just here?") which can
be printed for repeat visitors.
- fixed a bug in the timespan output to make it properly round minutes rather
than showing a bunch of decimal places (d'oh!).
- added provision to count multiple visits within the timespan (for use as
a hit counter rather than a visitor counter).
- ...and maybe some other things.
Download:
Duplicates: (other sites using this script)
Demonstration:
To display how many visitors are currently on your site:
<!--#exec cgi="/cgi-bin/subetha/sewhosonnow.cgi"
-->
...or the special Elf version of 1.0:
<!--#exec cgi="/cgi-bin/subetha/seelvesonnow.cgi"
-->
Denial:
It works for me, but may not work at all for you. If you have any problems
getting it going, just e-mail me and I'll do what I can to help.
[R)eturn to main menu [V)isit
os9al.com
contents copyright © 2001-2002 by allen
c. huffman
|