[Register] [785324 Members] [183788 Online; 415 Members, 183373 Guests]  
Call of Duty 6: Modern Warfare 2
File Search

Call of Duty 2 Downloads > Utilities > MP Servers:
PHP CoD2/CoD4 RCON (v1.8)
Filename: phprcon.zip

Date Added:
Type / Category:
823.93 KB
Apache Web server with session and PHP5 support
Utilities > MP Servers

Average User Rating: 7.8
Number of Votes: 119
Related Files:
Latest 5 Utilities > MP Servers:
- CodControl (0.0.2)
- CodControl (0.0.1)
- PHP CoD2 RCON (1.7)
- DreamStats (6 Revolution)
- COD2 RCON Commander Pro

5 Other Files by Ashus:
- CoD2 Directory Cleaner (0.003)
- PHP RCon (2.0)
- PHP CoD2/CoD4 RCON (v1.9)
- PHP CoD2 RCON (1.7)
- PHP CoD2 RCON (v1.6)

Call of Duty Files
 » File Browser
 » File Search
 » Submit Files

Call of Duty News
 » News
 » News Archive
 » Submit News

 Picture of the Month

Call of Duty Files Site Info
 » Staff
 » Vacancies
 » Submit PotD
 » PotD Archive
 » About Us
 » Apply To Volunteer
 » FAQ
 » Forums
    - Call of Duty
    - CoD: United Offensive
    - Call of Duty 2
    - Call of Duty 4
    - Call of Duty: WaW
    - Call of Duty: MW2
 » Latest Poll
 » Links
 » Link to us
 » Tutorials

Call of Duty
 » Articles
 » Cheats
 » Downloads
    - Demos
    - Maps
    - Media
    - Mods
    - Patches
    - Scripts and Binds
    - Skins
    - Templates
    - Utilities
    - Wallpapers
 » Multiplayer
 » Overview
 » Press Releases
 » Requirements
 » Screenshots
 » SP Missions

Call of Duty: United Offensive
 » Articles
 » Cheats
 » Downloads
    - Maps
    - Media
    - Official Releases
    - Scripts And Binds
    - Skins
    - Tutorials
    - Utilities
 » Requirements
 » Screenshots
 » Vehicles
 » Weapons

Call of Duty 2
 » Cheats
 » Downloads
    - Maps
    - Media
    - Media
    - Miscellaneous
    - Mods
    - Official Releases
    - Skins
    - Utilities
 » Requirements

Call of Duty 4
 » Cheats
 » Downloads
    - Maps
    - Media
    - Miscellaneous
    - Mods
    - Official Releases
    - Skins
    - Utilities
 » Requirements

Call of Duty 5: World at War
 » Cheats
 » Downloads
    - Maps
    - Media
    - Miscellaneous
    - Mods
    - Official Releases
    - Skins
    - Utilities
 » Requirements

PHP CoD2/CoD4 RCON (v1.8) - File Description  

  NOTE: This file has become outdated and there's a newer / better version available.
  You can still get this file but we suggest you have a look at the NEW / UPDATED VERSION first!

Here's the latest version of Ashus's PHP RCON tool, now compatible with both CoD2 and CoD4. If you're familiar with the old versions, great; if not, read the details in the ReadMe below. Resistance is Futile! If you're in need of a decent RCON tool for your CoD2 or CoD4 server, get a copy of Ashus's latest creation! wink


  NOTE: This file has become outdated and there's a newer / better version available.
  You can still get this file but we suggest you have a look at the NEW / UPDATED VERSION first!

PHP CoD2/CoD4 RCON (v1.8) - Screenshots  
Click to enlarge Click to enlarge

PHP CoD2/CoD4 RCON (v1.8) - File Download Options  

Primary Download Locations:
Provided by:
Worldwide Mirror by FileFront
usa - USA Central USA Central

Download from Worldwide Mirror by FileFront Download PHP CoD2/CoD4 RCON!

PHP CoD2/CoD4 RCON (v1.8) - Readme  
Readme File:
version 1.8

Server side: Apache webserver with session and PHP5 support
Client side: Javascript, AJAX and cookies enabled browser (Opera, Firefox, IE6/7)

This is a PHP interface for remote console administration to Call Of Duty 2 and Call Of Duty 4. My set of scripts gives you a list of players currently on the server along with colors - rcon status. You can send any command to the game, including messages to all, private messages (only COD2), map changes, map restarting, and any other rcon command. Next to all players there are links for 'one-click kick' and 'one-click message'. This tool works everywhere, even if you are sitting at a network with blocked UDP packets - I recommend to put it on the same machine the gameserver runs on.

Unpack the directory and upload it on your webserver.
Edit config.inc.php - general settings - language, country code resolution, custom commands...
Edit servers/myserver.inc.php - enter ip, port and rcon password of target gameserver
Edit maplist.inc.php - add your custom maps or gametypes to the lists
Edit users.inc.php - make a list of allowed users along with their passwords
Edit language.inc.php - if you translate the tool to a new language, send your work back to me

Open your browser, enter correct URL, login and have fun administering your game.

Adding more gameservers:
Edit servers.inc.php - add new server on each line, the first one on the list is default. Server string syntax is '(game) (server_name) (Friendly name)', where game is either 'cod2' or 'cod4', server_name is name of configuration file located in servers/ (eg. myserver -> servers/myserver.inc.php), Friendly name is the one you see in combo-box selecting other servers (and logging uses it as well).
Create configuration file in servers/ subdirectory. Enter at least IP, port and rcon password, other configuration may be used from cascaded configuration files.

Understanding cascaded configuration files:
All settings are defined in three levels, any setting in more specific configuration files adds/overwrites others.
- Lowest priority is defined by general config (config.inc.php)
- Medium are defined as common for games (games/cod2.inc.php)
- Highest are in specific server config (servers/myserver.inc.php)
Eg. use Servers to define gameserver IP and port, common Games to define maps you might have added to all your gameservers of each game, and Config to set language and resolving IP to country codes for the whole application.

To add an entry to array, use $array_name[] = 'value';
To clear a whole array, use unset($array_name); and then you can begin to add new items. Some arrays must be non-empty (map list, gametype list, ...).

Changed: Page charset encoding is now set to UTF-8 (better translation support for all languages). Forced UTF-8 by sending HTTP header.
Added: Multiple gameserver support - combo-box to change server appears in title only if there are more servers configured.
Added: COD4 support - whispering to players don't work AFAIK (server returns error Unknown function TELL), so I removed the Whisper buttons. New COD4 screenshots of maps and new gametypes imported. Communication on UDP layer stays the same.
Added: Logging of admin commands - watch your admins closely and shoot bad ones.
Added: Cascaded configuration (see help above).
Added: A button to clear last result.
Added: Session path can be defined in validate.inc.php - just uncomment and change the path. Some players were unable to find php.ini, so this is ready just for them.

Added: German translation, thanks to Papacheata.

Fixed: CSS was made compatible with Opera beta 9.50 codename Kestrel.
Changed: background colors of playerlist is now done trough style classes instead of bgcolors.
Added: Support for command 'geoip-lookup IP' returning only country code added. For configuration, see config.inc.php
Fixed: Uninitialized variable caused broken javascript in Firefox.
Fixed: Uninitialized variable error ocurred when retrieving background color for result.
Changed: Graphical working indicator.
Added: Shortcut key R for refreshing the playerlist.
Fixed: Minor fixes in javascript.
Fixed: If result is empty, the output table is hidden.

Fixed: A javascript glitch caused some browsers not to work.
Fixed: When data for playerlist and other commands are waited for at the same time, they are assigned to the right fields.
Fixed: When waiting for both data at the same time, and one of them finishes, the working indicator doesn't disappear. It is there always, when you're supposed to get data.
Fixed: If you receive an HTTP error, it is displayed along with text of that error.
Added: AJAX interface (thx. Nazgul for idea) for refreshing only the important parts of page. It has speeded the complete process a lot. Only one piece of code communicates with the server, easier for people to change.
Added: A "working indicator" notifying the user, that the page is waiting for new data. While waiting, you can work with old ones, unlike the old version, there you had to wait for some time without any playerlist to look at.
Added: An error message (if no data are received).
Changed: Almost all forms were removed, they were replaced by javascripts, input-guarded on the client side.
Added: Country codes are now implemeted along with national flag images. See config file for settings.
Added: Clicking any command with Shift button pressed puts the raw code to command line and doesn't send it. This can be used for changing preset commands before exec.
Fixed: By splitting the main script in two I have caused not to auto-choose current map in map change drop-down box. The default empty line was replaced by Restart command.
Removed: The button to change gametype instantly and those ones to bath disable or enable more weapons - snipers, rifles (executed 2 or more commands in a row) would make things much more complicated. For instant gametype change use Change after map and then restart the map by button below.
Changed: The default refresh time is now 30s (you can now work while refreshing).
Added: More custom commands on one line (for syntax see config file).

Added: Italian translation (thx. Nazgul).
Added: Custom favorite commands (editable in config.inc.php). Waiting a while pointing the cursor at the friendly name of command displays the actual command as hint label.
Added: Custom commands next to all players (config file, hint labels, editable ID offset for PB commands).
Changed: Timeout values, extra-wait failsafe mode, buffer sizes (when problems with full player listing ocurred) and language settings are now editable from within config.inc.php.
Changed: Settings menu is hidden by default, it is displayed (and more php code processed) after clicking one link. Previously, it was shown/hidden by javascript.
Fixed: Arrays are now duplicated when cycling (PHP4 compatible).
Fixed: Minor HTML glitches.
Added: Codepage of the page is now changeable with language.
Added: A map picture is shown via javascript after clicking the map name. To hide it, move the mouse away, or click the picture.
Added: One button to get current gametype was added.

Changed: Refreshing of the window is now done by javascript, which is stopped/resumed manually or by clicking anywhere to the bottom table (when you start typing a long command or message to send, it is already paused). If an dialog box for message is open and then cancelled, the countdown is resumed right where it has been paused.
Added: The countdown to page refreshing was added.
Added: All weapons are now possible to disable/enable or get their status (the "?" buttons), they are hidden as default, till you click Settings link.
Added: I made a password box for changing public password. It is also hidden by default.
Added: An empty page ready for quick links you may have needed was added. I use it for fast switch to my iptables banning system.

Fixed: I changed the beginning php tags from short to proper <?php.
Fixed: If return value exceeds limited number of bytes and colorizing is turned off, the background of the character is marked as yellow for easy noticing.
Fixed: The joining substring was changed from national sign of caron to chr(255), it could help to more compatibility.

Added: A simple login system.
Added: Maps, gametypes changing via dropdown box.
Added: Buttons for changing game settings - Sniper rifles, Shotgun, Smoke grenades.
Added: Javascript and buttons to whisper to any player / say something loud.
Fixed: you can press F5 to refresh the window with list safely - no commands will be re-sent, just the last result and last sent command will be displayed again.
Changed: Kick buttons were changed to javascript links.

First version, hooray, the communication with gameserver works, now we can begin working on GUI!

Use it and modify it freely, just include my name, as I spent a lot of time developing this tool.

ashw1 -at- seznam -dot- cz
Other applications made by me are here: http://ashus.ashus.net

PHP CoD2/CoD4 RCON (v1.8) - User Comments  
The following comments are owned by the user that posted them. Call of Duty Files is not responsible for their content.

Total comments: 4 | Last comment: 06-19-2008 at 01:01

 #1 - 12-03-2007 at 04:08
Joined: August 27th, 2003
Posts: 28
Good Job M8 - 10/10

 #2 - par un ami - 06-19-2008 at 00:53
From: (bagnols sur ceze)
Joined: June 19th, 2008
Posts: 3
salut big grin c un ami ki ma guider

 #3 - bienvenu a tous bon shoot a+ - 06-19-2008 at 01:00
From: (bagnols sur ceze)
Joined: June 19th, 2008
Posts: 3

J'espere ke vou allé bien vou amusser é pa de gros mot ^^

 #4 - ulk;ghikl:uègbuli;:g - 06-19-2008 at 01:01
From: (bagnols sur ceze)
Joined: June 19th, 2008
Posts: 3

When posting comments, you must follow these rules:
  1. No "Yay I got First Post!" posts, no exceptions and no matter what other content the post has!
  2. No Pornographic Material. Any sexually oriented imagery or links to such content will not be tolerated.
  3. No Warez or Illegal Software. This includes linking to software, posting about it, and suggesting to get it.
  4. No Cursing or Swear words. We encourage you to use our comment sections as a forum to debate files, news, etc., but please use proper adjectives to express yourself. We will not tolerate abuse upon another member or author.
  5. No Attacks / Retaliation of any kind against a member, or group of members.
  6. Please do not advertise for other sites or forums here.
  7. Maximum of 3 smileys per regular member.
The high interactivity of this site should be considered a luxury, not a right. If you cannot follow these simple rules, you can and will be warned or banned from the comments, site or the entire network for any period of time.
Now enjoy yourself and behave!

  • Register: To get your own Username, click here!
  • Forgot your password? click here!
  • You can use UBB here!
Username:     Password:  
Remember my username and password
Comment Title:
Your comments for this File please:

 Latest Files
 » mp_training_1 (1)
 » mp_hunt_xm.. (1.0 Final)
 » mp_hunt_wi.. (1.0 Final)
 » The Vapor Comple.. (1.0)
 » The Vapor Comp.. ((v.2))
 » Map Manager Tool.. (1.0)
 » D Coy Modern Wea.. (1.3)
 » The Vapor Complex
 » Rafi's ingame Rc.. (2.0)
 » Firefight (COD2).. (1.3)

 Latest News
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..

 The Network
 » Gaming News
 » Game Demos
 » Game Patches
 » Trailer Videos
 » Gaming Forums

 Game Portals:
 » Age of Empires 3
 » Aliens vs Predator 2
 » America's Army
 » ArmA 2
 » Armada 2
 » Battlefield 1943
 » Bridge Commander
 » Brothers in Arms 2
 » Call of Duty 4
 » Command & Conquer
 » Company of Heroes
 » Crysis
 » Counter-Strike: Source
 » Dawn of War Series
 » Day of Defeat: Source
 » Diablo 3
 » Doom 3
 » Elite Force
 » Enemy Territory
 » Fallout 3
 » Far Cry 2
 » F.E.A.R.
 » Flight Simulator X
 » GTA San Andreas
 » Half-Life 2
 » Halo
 » Jedi Knight 3
 » Knights of the Old Republic
 » Left 4 Dead 2
 » LOTR: Battle 4 Middle Earth
 » Medal of Honor
 » Operation Flashpoint
 » Quake 4
 » Red Faction: Guerrilla
 » rFactor
 » Silent Hunter 4
 » Sins of a Solar Empire
 » Soldier of Fortune 2
 » S.T.A.L.K.E.R.
 » Star Trek: Legacy
 » Star Wars Battlefront 2
 » Star Wars Empire at War
 » StarCraft II
 » Starfleet Command III
 » Supreme Commander
 » Team Fortress 2
 » The Elder Scrolls IV
 » The Sims 2
 » TrackMania United
 » Unreal Tournament 3
 » Warcraft III
 » World of Warcraft
 » X3: Terran Conflict

You got served by FN1 in 0.1314 seconds using 6 MySQL queries and 13 includes
Copyright © 2015 FileFront, Inc. All rights reserved.
Design by Pro-Filer & Delta. Use of Call of Duty Files materials is subject to certain Terms & Conditions.
TM & © 2015 Activision. All rights reserved. Call of Duty and related marks are trademarks of Activison.