[DGD] Still wondering...
muphicks
muphicks at mups.co.uk
Sun Aug 4 00:45:05 CEST 2002
----- Original Message -----
From: <pete at ana.sk>
> I personaly think it is much easier and
> maybe even better to use regular web
> server like apache and make a cgi or php
> scripting for querying your dgd. You can
> make your own lightweight protocol for it;
> now when dgd can listen on multiple ports
> it wont take any precious resource from
> your system.
>
How would you suggest querying from php?
The way I have things setup at the moment is
I've created a statusd.c which every 5 minutes
outputs the result of the status() command to
/log/status.log
My php website then simply opens
~/mud/mudlibs/gpmud/log/status.log and reads
the contents which it then outputs as part of the
website.
Is there a more appropriate way rather than
having to use text files and a timer to output
to the file?
cheers.
Gary Preston.
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list