From 15d711c15c0c0f82270f75f637da9f1ddc357eb8 Mon Sep 17 00:00:00 2001 From: Dc0de Arctic-fox Extrom Date: Fri, 21 Sep 2012 00:44:58 -0300 Subject: [PATCH] Fixed minor syntax error --- mcping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcping.php b/mcping.php index 021eb3a..2cb7d86 100755 --- a/mcping.php +++ b/mcping.php @@ -5,7 +5,7 @@ - +
If you want to parse this information for yourself, just give the script an $ip and $port (default assumed)
then pull an arraylist for $srvinfo from 0-2 to get motd, players online, and max players.
Server and port are just echo'd $ip and $port. To check online status, use testserver.php.
Server and port are just echoed $ip and $port. To check online status, use testserver.php.
Call testserver.php and use the GetServerStatus($ip, $port); function - echo that and done :3
Example:
 include('http://unps-gama.tk/mcping.php?ip=$ip&port=$port')