need helping finding a script ...

Maverick2002

Diamond Member
Jul 22, 2000
4,694
0
0
I'm looking for a script that will tell me how many visitors are on a website at a given time. It should refresh in real-time and needs to work within an SSI file. Any ideas? I've searched but haven't found anything as of yet. Thanks!
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
that's actually quite a bit of work to write. You either need an SSI include on every page of the site, or you need a script that analyzes your server logs to see how many people have connected, but never left.
 

Maverick2002

Diamond Member
Jul 22, 2000
4,694
0
0
I do have identical SSI files on every page. So what's the script to use and where can I get one? Or is it a lot more complicated than that?
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
I could write one, I don't know where to find one though. If ytou have the SSI files on every page, it's not that tough to write.
 

Maverick2002

Diamond Member
Jul 22, 2000
4,694
0
0
So far all the ones I've found use Perl and you need to CHMOD stuff. Isn't there anything simpler?
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
no. You will need to chmod any script you get so that it's executable. and henestly, if you can't handle "chmod 755 script.pl" I don't know how you got the website put together.
 

Maverick2002

Diamond Member
Jul 22, 2000
4,694
0
0
I had it all uploaded and CHMODed but there were problems. There are 3 ways to make this script work that I downloaded.

One is frames, this I can't do.
The other is Javascript. I added this to my left nav bar SSI file and the page just started refreshing non-stop.
The last is an SSI statement, but SSI within SSI doesn't seem to work.

So what should I do?