array( 'method'=>"GET", 'header'=>"User-Agent: pgg-room-viewer_php +mailto:magmaus3@disroot.org \r\n" ) ); $context = stream_context_create($opts); // Here you can change the URL of the server $data = file_get_contents("http://pgg-server.glitch.me/scripts/getrooms.php", false, $context); ?>

List of active games.

Note that if a person exits their flash player without exiting the room first, the room will be visible on the list but it'll be impossible to join it.

Request failed. You may want to try to reload the page"; } else { echo ""; parse_str($data, $arr); if ($arr['cant'] != "0") { foreach (range(0, $arr['cant']-1) as $i) { $i = strval($i); echo " "; }; } else { echo " "; } echo "
Name Players Password PvP Edit Country Gamemode
" . $arr["roomname$i"] . " " . $arr["players$i"] . "/" . $arr["maxplayers$i"] ." idk " . $arr["pvp$i"] . " " . $arr["edit$i"]. " " . $arr["country$i"] . " " . $arr["gamemode$i"] . "
No active games
"; } ?>