sorry, can i have the php syntax for the online player in TMW ??
in themanaworld.org show Online (109 players) example
i will add that on my blog . . .
thanks . . . .
n sorry for my bad english . .
[ask]php online code
[ask]php online code
Just Indonesian[/color People .
Re: [ask]php online code
You could use this little snippet. It reads the value from the TMW-site and removes the HTML tags so you can make it fit your site.
<?php
$status = file_get_contents('http://server.themanaworld.org/status.php');
echo strip_tags($status);
?>
Totally untested but it should work.
<?php
$status = file_get_contents('http://server.themanaworld.org/status.php');
echo strip_tags($status);
?>
Totally untested but it should work.