Synth0id you take everything that dead serious do you?
btw to make this post a bit more useful than the last 2 here''s some code to query a halflife server in php, just to get you (RonHiler) an idea.
$command can be a string like ''info'', for more you need to look at the specs in the hl-sdk.
function sendCommand($command,$server=''127.0.0.1'',$port=27015){ if(($sock = socket_create (AF_INET, SOCK_DGRAM, 0)) < 0) { echo "socket_create() failed: reason: " . socket_strerror($sock) . "\n"; } $send=sprintf(''%c%c%c%c%s%c%c'',255,255,255,255,$command,0,0); $x=socket_sendto($sock,$send,strlen($send)-1,0,$server,$port); $y=socket_recvfrom($sock,$recvbuf,1000,0,$from,$port); return $y;}