22 lines
405 B
PHP
22 lines
405 B
PHP
<?php
|
|
|
|
include "mcpi.php";
|
|
$mcpi = new mcpi();
|
|
|
|
// ping away !!!
|
|
try{
|
|
print_r($mcpi->ping("androidmc.hopto.org", 19133));
|
|
}catch(Exception $e){}
|
|
|
|
try{
|
|
print_r($mcpi->ping("68.194.116.245", 19132));
|
|
}catch(Exception $e){}
|
|
|
|
try{
|
|
print_r($mcpi->ping("146.198.132.171", 19132));
|
|
}catch(Exception $e){}
|
|
|
|
try{
|
|
print_r($mcpi->ping("pi-land.minecraft.pe", 19132));
|
|
}catch(Exception $e){}
|