Online Ranks list

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Bixx
Forum Newbie
Posts: 1
Joined: Tue Oct 03, 2006 7:35 pm

Online Ranks list

Post by Bixx »

Hello,

Firstly, I'm sorry if I've chosen the wrong section to post this, if it needs moving, ofc feel free to do so. Secondly, I'm not a php user myself, it's my Dad who is helping me with my idea.

Basically I play an online game that currently has no online ranks list and so I thought about trying to set up my own for the time being. I thought about the way a forum has an online list at the bottom normally when someone logs in, and the name disappears after the person logs out or times out. This is essentially what I want to have for my friends and myself. The guild mate can open a webpage, and enter their ingame name. This will then appear in a frame as online. Once the person has closed the webpage, the name is taken out after timing out.

I would like to know if this is actually doable to begin with ;) and also if anyone knows how it can be done or if it already exists somewhere for me to use.

Thanks for any advice or replies,

Mike
User avatar
waradmin
Forum Contributor
Posts: 240
Joined: Fri Nov 04, 2005 2:57 pm

Post by waradmin »

Well, I would say do it using PHP Sessions. Have a session created when the user logs in. Then once they close out that session would be destroyed.

http://us3.php.net/session might help
Post Reply