Доброе утро, уже все перепробовал, все возможные мануалы перелазил, ну обновляет и все.
Надеюсь на вашу помощь, форма необычная, это не обратная связь, а ркон консоль.
<?php
require_once("rcon_code.php");
# Set Defaults
$OUTPUT = "No Output - Submit a Command";
# GET and SEND Post data
if ($_POST)
{
$IP = $_POST["IP"] = "ip"
$PORT = $_POST["PORT"] = "port";
$PASSWORD = $_POST["PASSWORD"] = "pass";
$COMMAND = $_POST["COMMAND"] = "status";
$srcds_rcon = new srcds_rcon();
$OUTPUT = $srcds_rcon->rcon_command($IP, $PORT, $PASSWORD, $COMMAND);
}
# Display Form
print ("<html>
<head>
<link rel='stylesheet' type='text/css' href='style.css'>
</head>
<body><noscript><div class='title'><font color='#FF0000'><b>WARNING!</b></font> Javascript is disabled. Some functions will not operate!</div><br></noscript>
<div class='title'><img src='ruckmanrcon.png'></div><br>
<table class='maintable'>
<tr>
<td class='custom'>
<font class='info'>Login:</font><br><hr>
<form action='rcon.php' method='post' name='CUSTOMCOMMAND'>
</td>
<td rowspan='3' class='txtarea'>
RCON Output:<br><hr><textarea rows='30' cols='110'>$OUTPUT</textarea>
</td></tr>
<tr>
<td class='custom'>
<font class='info'>Custom Command:</font><br><hr>
<input type='text' name='COMMAND' /><input type='submit' value='Submit'><br>
</form>
</td>
</tr>
<tr>
<td class='custom'>
<font class='info'>Common Commands:</font><br><hr><form name='COMMONCOMMANDS'>
<input type='button' value='Server Status' onclick='serverstatus()'>
<input type='button' value='Map List' onclick='maplist()'>
<input type='button' value='Restart' onclick='restart()'>
<br>
<input type='text' name='MAPNAME' value='Map Name'><input type='button' value='Change Map' onclick='changemap()'>
<br>
<input type='text' size='5' name='KICKID' value='ID'><input type='text' name='KICKREASON' value='Reason'><input type='button' value='Kick ID' onclick='kickid()'>
<br>
<input type='text' name='SEARCH' value=''><input type='button' value='CVAR Search' onclick='search()'>
<br>
<input type='text' name='SAY' value=''><input type='button' value='Say' onclick='say()'>
</form></td>
</table>
</body>
</html>");
?>