PDA

View Full Version : Fetch Server Password via gllcTS2?


Celtic
30-06-2005, 22:33
Hello,

I am looking for a solution fot the following problem (I searched this forum and the web unsuccessfully):

Our site runs a TS Server which is protected by a Server Password. This password changes once a week. There will be a page on our web site on which registered users only can see the current server password. I want this page to be generated dynamically and always show the current Server Password.
Now, gllcTS2 fetches the TS information and stores it in the weblist table. That all works well. There is even a field (VARCHAR) for the Server Password. However, the only possible values are 0 = no password and 1 = password protected.

My question is:
Is there any way to fetch the current password using gllcTS2 or something else?


If that question has already been asked before I apologize.


Thanks,

Cyrus
01-07-2005, 11:19
Here I wrote something for you to use.
Just unpack and open serverpw.php with your favorite editor and edit the server data and ports at the beginning of the file. Then upload it together with the CyTS-Class and run serverpw.php on a webserver.

Celtic
01-07-2005, 13:41
Here I wrote something for you to use.
Just unpack and open serverpw.php with your favorite editor and edit the server data and ports at the beginning of the file. Then upload it together with the CyTS-Class and run serverpw.php on a webserver.
Way to go! It is working fine! Thanks a lot. :)

Sauber, funzt, sänks! ;)