CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Whos Online



Aug 3, 2001, 4:06 PM

Post #1 of 2 (473 views)
Whos Online Can't Post

Yes i finally got to working on my whos online script. So it works fairly well except for the stupid fact that it lets only one person be online :( Everything looks right yet it doesnt add more than one person, and if it does it makes the person that was online turn into a guest and that person that was online doesnt get added. :(
here is how the database is setup....

I attached my script, maybe you can figure out what is wrong. Also a second question. when using the < !-- # exec cgi= "/cgi-bin/online.cgi?action=view" -- > on a webpage can you read in what the cookies have stored in them? for some reason i can only read in the cookies data when you are going directly to the cgi program not inside some page( e.g. ) If you wish to see what it prints scroll down to the bottom of .

Hopefully you "perlgurus" out there can help.

@letters = ('A'..'Z', 'a'..'z', '1'..'5', '_');
@i = ( '15', '43', '40');
print @letters [ @i, -1, 55];


Aug 4, 2001, 7:09 PM

Post #2 of 2 (458 views)
Re: Whos Online [In reply to] Can't Post

Hey buddy,
My turn to try to help you out. I just happened to come accross this in the search for a solution to my own problem Smile

Go here:
Who's Online Script

I am not sure if this is exactly what you would want. But I am sure that you can mess with it and tweak it until it is how you like it. Or you may not like it at all. But I thought that I would atleast give you the opportunity to decide that haha =0) Good luck.


use CGI;
$a = new pointless CGI();


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives