
Pro_4
User
Aug 3, 2001, 4:06 PM
Post #1 of 2
(311 views)
|
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.... Username|IP|Time\n Username|IP|Time\n 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. http://etow.virtualave.net/cgi-bin/online.cgi ) If you wish to see what it prints scroll down to the bottom of http://etow.virtualave.net . Hopefully you "perlgurus" out there can help. @letters = ('A'..'Z', 'a'..'z', '1'..'5', '_'); @i = ( '15', '43', '40'); print @letters [ @i, -1, 55];
|