alliedassault.co.uk has a nice working system here:
http://alliedassault.co.uk/byservers.php
I've tried to locate the script but can't find it anywhere. I'm not sure if it is just php or if the php is wrapping a cgi script tho. I looked into coding a query tool in php but it seemed to have some problems with the way php deals with socket sessions.
Anyway it apparently can be done (but possibly requires wrapping a cgi script) so if anybody has more info please post it. It would be very nice to have a system like the one at aa.co.uk!