Online players on the website.

Started by FlaMers, Mar 09, 2009, 02:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FlaMers

I would like to know how to put online players in my website.

Thank you.

Shinn

you write a php code to show it.


Cheers.

cause after all the drama, I still slain em.


Need a site done? contact me.

FlaMers

can you tell me how?I have no idea.
Posted on: Mar 09, 2009, 10:57 am
Bump!!
Can someone please teach me or give a tut on how to do it.
Posted on: Mar 09, 2009, 04:36 pm
Bump!

Cielte

I would suggest looking at php tutorials?

FlaMers

Isn't php is kind of general?I just needed to know how to do it in Ragnarok.

Cielte

I don't know php at all, hence why I said look through google or something.

stealthx

Some control panels which could be download free has the PHP codes to show online players. For example, FluxCP, which i use has a "Who is Online" page. Or you may wish to contact the other control panel owners/devs, asking for permission to use their source codes if you can't write the PHP script from scratch.

Cheers.

yC

I suggest you use a control panel.

But you can also create a new mysql user, only give it the select permission for the char table.  Then connect to the db with the new user and do a 'SELECT SUM(`online`) From `char`' query in a php script and output the result.

If that's too complicated for you, I think you need to ask a copy of code instead of how.