rendered paste body<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
$myFile = "";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
$Title = "R7 Server";
$theData = str_replace("In-Game Statistics"," ", $theData);
$theData = str_replace("Team 1", "Alpha", $theData);
$theData = str_replace("Team 2", "Bravo", $theData);
$theData = str_replace("Team 3", "Charlie", $theData);
$theData = str_replace("Team 4", "Delta", $theData);
$strLength = strlen($theData);
$mapPos = strpos($theData, "Map");
$theData = substr($theData, $mapPos, $strLength);
$gamePos = strpos($theData, "Gamemode");
$mapInfo = substr($theData, 0, $gamePos);
$timePos = substr($theData, "Time");
$gameInfo = substr($theData, $gamePos, $timePos);
echo $mapInfo; echo "<br>\n"; echo $theData;
?>
</body>
</html>