correct port...just gonna have to say host site is unable to talk to urt with udp
Advertisement
PHP Server Status Script
#13
Posted 20 November 2007 - 04:32 PM
#14
Posted 22 November 2007 - 02:02 AM
Quote
correct port...just gonna have to say host site is unable to talk to urt with udp
May be php TCP/IP modules missconfigure or missing.... Is there a way to test a basic echo requets in php in order to verify your php install is ready for such tcp/ip requests ? Just an idea....
#15
Posted 24 November 2007 - 12:55 PM
The script uses sockets, so the socket extension must be available to run the script. I would advice small changes to the script to help finding problems. First idea would be to change line 37 to
So people could add ?devmode=1 to the url to see warning too. Other/additional possibility would be adding something like
between line 37 and 39.
Its possible to do that querying without socket support just with fsockopen and fwrite/fread. Wrote a (q3/urt-) class (additional rcon, masterserver query, PB vars etc) years ago, but I never had the time to prepare it for a public release. If anyone with (advanced) php skills interested in it, just message me.
isset($_GET['devmode']) ? error_reporting(E_ALL) : error_reporting(!E_WARNING);
So people could add ?devmode=1 to the url to see warning too. Other/additional possibility would be adding something like
if(!function_exists('socket_create')) die('socket support missing!');
between line 37 and 39.
Its possible to do that querying without socket support just with fsockopen and fwrite/fread. Wrote a (q3/urt-) class (additional rcon, masterserver query, PB vars etc) years ago, but I never had the time to prepare it for a public release. If anyone with (advanced) php skills interested in it, just message me.
Advertisement
#16
Posted 26 November 2007 - 02:56 AM
Ah, good idea. I incorporated them into a small update:
http://www.rivetcode...phpurbanterror/
http://www.rivetcode...rror_0-6.tar.gz
http://www.rivetcode...nterror_0-6.zip
What's the difference between using/not using sockets in PHP?
http://www.rivetcode...phpurbanterror/
http://www.rivetcode...rror_0-6.tar.gz
http://www.rivetcode...nterror_0-6.zip
What's the difference between using/not using sockets in PHP?