Folgender Code liegt mir vor:
Es funktioniert einfach nicht ^^ .... ganz doofe Frage: Warum? Was ist falsch?
PHP-Code:
<?php
$serverAddress = "85.93.15.143";
$serverUDPPort = 1003;
$serverQueryPort = 51234;
if ($serverAddress == "") { die("You need to configure this script by setting the serverAddress and eventually the serverUDPPort and serverQueryPort in the sourcecode<br>\n"); }
?>
<?php
if (isset($autorefresh)) { if ($autorefresh == 1) {
echo(" <meta http-equiv=\"refresh\" content=\"10; URL=" . $_SERVER["PHP_SELF"] . "?autorefresh=1\">\n");
} }
?>
<?php
// Display the Teamspeak server
require("teamspeakdisplay/teamspeakdisplay.php");
$teamspeakDisplay->displayTeamspeak($serverAddress, $serverUDPPort, $serverQueryPort);
?>

Kommentar