Community Forums Today's Posts     Member List     Archive    
Results 1 to 8 of 8

Thread: Php Script

  1. #1
    Join Date
    Oct 2003
    Location
    Luxembourg
    Posts
    5

    Exclamation Php Script

    Hello Webpost script is a bit to MUCH for that what I need I just want to write a script that i put on my Homepage server and which is outputting the servername and the users


    thx for helping me


    cu


    ccdee0plus

  2. #2
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    2,833
    where is the question ?
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  3. #3
    Join Date
    Oct 2003
    Location
    Luxembourg
    Posts
    5

    LOL

    I forgot the main thing...

    where can i find a log file where i can read this stuff out from the server =)

    thanx

    ccdee0plus

  4. #4
    Join Date
    Oct 2003
    Location
    Luxembourg
    Posts
    5

    hmm

    And maybe the second question is, when Teamspeak isnt saving the stuff in a log file, how can I connect to it directly from the php. Are the commands the same as theyin the TSCONTROL.exe in the client_sdk folder in ts


    thx


    ccdee0plus

  5. #5
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    2,833
    I think you can look at the php code of webpost and look how its done there ? Also I suggest you use tcpquery instead of log to get your data.
    Appart from that Im going to call you lazy bastard now, for not having read the FAQ, where I find: Where to find more info about a problem - Wheres the logfile?
    So go read before you post (as the board rules suggest.)
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  6. #6
    Join Date
    Oct 2003
    Location
    Luxembourg
    Posts
    5

    hmm

    As i can see I am talking to a brilliant man here...

    I read your post about the server.log or ini, but there i cant find any information about any player who is in the server...



    ccDee0pLuS

  7. #7
    Join Date
    Oct 2002
    Location
    Germany
    Posts
    2,594
    player information and stuff is in your server.dbs file... (sqlite)
    still it's more senseful to use telnet from within your php-code to connect to the ts-server's tcpquery interface and get the information you need.

    cu
    SatanClaus

  8. #8
    Join Date
    Dec 2002
    Location
    Germany
    Posts
    1,762
    Do a search for TCPQueryPort in the forums. The commands to get the player list are there and also an example how to access the TCPQueryPort via PHP.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Control script for TS2 (For Debian users)
    By Echo in forum [TeamSpeak 2] Server Support
    Replies: 28
    Last Post: 10-12-2002, 18:53
  2. My modified Start-up script
    By Jovi in forum [TeamSpeak 2] Server Support
    Replies: 17
    Last Post: 02-09-2002, 19:56
  3. Teamspeak 2 stats script for Perl (simple)
    By Makull in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 27-08-2002, 15:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •