Ashus.ashus.net

Full Version: Call Of Duty: PHP RCon 2.40 EN++
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
I'm pretty sure it is related to my server upgrade, as i didn't have any issue before. I used this tool for months before upgrading, it was perfect.

I also noticed that the missing lines are ALWAYS the same, not the same slot, but the same "line number" on the screen.

I tried an external rcon tool, i can see the missing lines.

Any idea to fix it ?
Thanks for your help !
No idea, that's why i solved it by hiding the buttons that could be a problem.

Takasurazeem94

I have a Java Ban Tool for cod 1 is itpossible to merge it with your php tool?
Ashus Wrote:No idea, that's why i solved it by hiding the buttons that could be a problem.

I fixed it myself but i'll give the solution in case someone else has the same problem.
Missing lines are due to PHP 5.4, because everything was ok with PHP 5.3

After hours of browsing i found out you have to make some minors changes in php code.

You have to add
Code:
, ENT_NOQUOTES, 'iso-8859-1'
in all htmlspecialchars like

Code:
htmlspecialchars($s, ENT_NOQUOTES, 'iso-8859-1');

Guest

i have successfully installed the php rcon on remote web hosting and it was working fine for 2 cod2 servers . But when i try to add 3rd cod2 server it starts giving me following error

Parse error: syntax error, unexpected T_VARIABLE in /usr/www/clanaccount/public/rcon_php/servers.inc.php on line 9

if i remove the 3 rd server then its gone work fine.
is it because of my web hosting ? or something else?
probably syntax error, check correct php escaping of " ' characters (string enclosed by ' if needed, should contain \'). Verify it in pspad or other syntax highlighting editor (even this forum has it, use [ code=php] and [ /code] )

Guest

Ashus Wrote:probably syntax error, check correct php escaping of " ' characters (string enclosed by ' if needed, should contain \'). Verify it in pspad or other syntax highlighting editor (even this forum has it, use [ code=php] and [ /code] )
thankyou......solved.

Guest

is it possible to log ip also with logged username ?
if yes . then how?
find and replace in action.php:
Code:
            fwrite($fp, date('Y-m-d H:i:s').' '.$admin_name.'@'.$server_friendly_name.': '.$s."\n");
 
>
Code:
            fwrite($fp, date('Y-m-d H:i:s').' '.$admin_name.'@'.$_SERVER['REMOTE_ADDR'].'@'.$server_friendly_name.': '.$s."\n");
 

Guest

thankyou.........................working
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39