Re: Suggestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Isn't it already implemented? Check the manual
for ConfigQuery description.

----- Original Message ----- From: "Costin Manda" <siderite@xxxxxxxxx>
Sent: Tuesday, March 29, 2005 5:48 PM



 Trying to make a PHP program to read, modify and write back the
configuration for GnuGK I stumbled upon the problem of file rights. I
would not want PHP to have the right to write over the main
configuration file. Therefore I came up with this idea:

 how about a section of the config like this:
[SQLConfig]
Driver=MySQL | PostgreSQL
Host=DNS[:PORT] | IP[:PORT]
Database=gnugk
Username=gnugk
Password=secret
Table=config

The table 'config' from database 'gnugk' could have the format (ID int
primary key, conf text) where people could write whole new configs. Once
the telnet command reload is given, gnugk reads the configuration from
the text file, then the ones in the database. Thus any program could
easily modify the parameters of gnugk including routing and such.

Just an idea.



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux