Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Połączenie z serwerem TS3
teez
post 6.04.2013, 12:41:38
Post #1





Grupa: Zarejestrowani
Postów: 186
Pomógł: 6
Dołączył: 20.12.2010

Ostrzeżenie: (0%)
-----


Witam,

  1. <?php
  2. require("TeamSpeak3.php");
  3. // connect to local server, authenticate and spawn an object for the virtual server on port 9987
  4. $ts3_VirtualServer = TeamSpeak3::factory("serverquery://username:password@127.0.0.1:10011/?server_port=9987");
  5. // build and display HTML treeview using custom image paths
  6. $ts3_VirtualServer->getViewer(new TeamSpeak3_Viewer_Html("images/viewericons/", "images/countryflags/"));
  7.  


Mam kilka pytań dot w/w kodu.

Skąd mogę wziąć username / password?
Co gdy nie ma hasła na serwer?
server_port to Query port?

Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 14:36