21.09.2008, 11:04
Ich hab hier mein Script fuer das Template aber das geht nciht -.-
Zitat:
<?php
//====================== BEGINNING OF CONFIGURATION PART =====================
// The teamspeak server IP or Hostname: (DO NOT INCLUDE THE PORT NUMBER)
$serverAddress = "85.93.15.143";
// The teamspeak server port you use to connect to the teamspeak server using a teamspeak client
$serverUDPPort = 1003;
// The teamspeak query port of your server (look in the server.ini of your teamspeak server for
// this portnumber)
$serverQueryPort = 51234;
//====================== END OF CONFIGURATION PART ===========================
// Is the script improperly configured?
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);
// Display autorefresh status and control link:
?>
//====================== BEGINNING OF CONFIGURATION PART =====================
// The teamspeak server IP or Hostname: (DO NOT INCLUDE THE PORT NUMBER)
$serverAddress = "85.93.15.143";
// The teamspeak server port you use to connect to the teamspeak server using a teamspeak client
$serverUDPPort = 1003;
// The teamspeak query port of your server (look in the server.ini of your teamspeak server for
// this portnumber)
$serverQueryPort = 51234;
//====================== END OF CONFIGURATION PART ===========================
// Is the script improperly configured?
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);
// Display autorefresh status and control link:
?>
Meine Page ist [Link: Registrierung erforderlich], koennt ihr mir da weiterhelfen.
Die Ports und die IP stimmen 100Prozentig