php $ playeronline = file_get_contents ('https://minecraft-api.com/api/ping/playeronline.php?ip=YOUR.IP&port=YOUR.PORT'); echo $ playeronline; ?>