aus das ...
PHP
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=178.63.89.77:44430";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat92 .= str_replace($endstueck,"",$resb);
- $resultat92 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat92 = "Players online .$resultat92.";
- echo $resultat92;
- ?>
wurde das ...
PHP
- <html>
- <body bgcolor="#2a2239">
- <meta name="viewport" content="width=400px" />
- <head>
- <title>Warsow Race Server</title>
- </head>
- <body>
- <h3> Warsow race servers:</h3>
- <p>
- ° <a href="warsow://93.170.105.188:44410">MGX Race NL#1</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=93.170.105.188:44410";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat1 .= str_replace($endstueck,"",$resb);
- $resultat1 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat1 = "Players online .$resultat1.";
- echo $resultat1;
- ?>
- <br>
- ° <a href="warsow://93.170.105.188:44420">MGX Race NL#2</a> <br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=93.170.105.188:44420";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat4 .= str_replace($endstueck,"",$resb);
- $resultat4 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat4 = "Players online .$resultat4.";
- echo $resultat4;
- ?>
- <br>
- ° <a href="warsow://198.199.125.100:44400">MGX Race INC #1</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=198.199.125.100:44400";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat2 .= str_replace($endstueck,"",$resb);
- $resultat2 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat2 = "Players online .$resultat2.";
- echo $resultat2;
- ?>
- <br>
- ° <a href="warsow://178.63.89.77:44410">MGX Race DE#1</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=178.63.89.77:44410";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat3 .= str_replace($endstueck,"",$resb);
- $resultat3 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat3 = "Players online .$resultat3.";
- echo $resultat3;
- ?>
- <br>
- ° <a href="warsow://178.63.89.77:44420">MGX Race DE#2</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=178.63.89.77:44420";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat5 .= str_replace($endstueck,"",$resb);
- $resultat5 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat5 = "Players online .$resultat5.";
- echo $resultat5;
- ?>
- <br>
- ° <a href="warsow://84.200.14.116:44410">MGX Race ]vVv[</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=84.200.14.116:44410";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat7 .= str_replace($endstueck,"",$resb);
- $resultat7 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat7 = "Players online .$resultat7.";
- echo $resultat7;
- ?>
- <br>
- ° <a href="warsow://198.211.116.185:44410">MGX Race US#1</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=198.211.116.185:44410";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat8 .= str_replace($endstueck,"",$resb);
- $resultat8 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat8 = "Players online .$resultat8.";
- echo $resultat8;
- ?>
- <br>
- ° <a href="warsow://198.211.116.185:44420">MGX Race US#2</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=198.211.116.185:44420";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat9 .= str_replace($endstueck,"",$resb);
- $resultat9 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat9 = "Players online .$resultat9.";
- echo $resultat9;
- ?>
- <br>
- ° <a href="warsow://178.63.69.69:44401">MGX EU RACE - POWERED BY CWG-HOSTING.com</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=178.63.69.69:44401";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat91 .= str_replace($endstueck,"",$resb);
- $resultat91 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat91 = "Players online .$resultat91.";
- echo $resultat91;
- ?>
- <br>
- ° <a href="warsow://178.63.89.77:44430">MGX Race ACC Private"</a><br>
- <?php
- $url = "http://dpmaster.deathmask.net/?game=warsow&server=178.63.89.77:44430";
- $startstring = "<div id=\"handle\">";
- $endstring = "</font></div>";
- $file = @fopen ($url, "r");
- if (trim($file) == "") {
- echo "Service out of order";
- } else {
- $i=0;
- while (!feof($file)) {
- $zeile[$i] = fgets($file,2000);
- $i++;
- }
- fclose($file);
- }
- for ($j=0;$j<$i;$j++) {
- if ($resa = strstr($zeile[$j],$startstring)) {
- $resb = str_replace($startstring, "", $resa);
- $endstueck = strstr($resb, $endstring);
- $resultat92 .= str_replace($endstueck,"",$resb);
- $resultat92 .= "; ";
- }
- }
- // Ausgabe der Daten
- $resultat92 = "Players online .$resultat92.";
- echo $resultat92;
- ?>
- <br>
- </p>
- </body>
- </html>
mit notepad auch noch ... das war ne qual