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