Any tip or suggestion or fix?
the script is:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
function send_command($ip,$port,$rcon,$command) {
$fp = @fsockopen("udp://".$ip, $port, $errno, $errstr);
if ($fp){
$request = chr(1).chr(0).chr(242).chr(strlen($rcon)).$rcon.pack("S",strlen($command)).$command;
fwrite($fp, $request);
}
}
$name = "Owner";
echo "<input type='text' name='$msg'";
if (isset($_REQUEST['send'])) {
send_command("192.168.1.69",36963,"asdasd","say ©255255255".$name.": ".$msg);
}
?>