I've written a simple php script to display qstat data using the templates. When I execute the qstat command:
svrnfo/qstat -maxsim 10 -P -f svrnfo/servers.txt -Ts svrnfo/noxTs.html -Th svrnfo/noxTh.html -Tt svrnfo/noxTt.html -Tp svrnfo/noxTp.html -sort l
from the commandline it responds instantly with the desired output. However, when its included in the php script as:
$output = svrnfo/qstat -maxsim 10 -P -f svrnfo/servers.txt -Ts svrnfo/noxTs.html -Th svrnfo/noxTh.html -Tt svrnfo/noxTt.html -Tp svrnfo/noxTp.html -sort l;
echo ("$output");
they queries time out. I've tried setting -timeout 1000 but it doesn't seem to have any affect and it only takes about 5 seconds for it (qstat) to time out.
you can see the output here: http://www.noxordo.com/svrnfo.php . Sometimes it gets the first 2 servers before it times out and others all 7 time out. ANY suggestoins would be greatly appriciated.
-Michael
p.s. qstat is a c program by whcy you query game servers.