Hi,
I am using Wolfcon for my BFBC2 server administrating, it has a function that reads a txt file off of the internet and makes a reserve slot on the server for that name. So now i need a PHP script that can write to a txt file for me if some one enters a name. In zip of the rcon program there is a php script, but it didnt work for me. I asked the gamservers.com people and they fixed it (kind of) before it didnt write anything to the file, now it writes blank lines.
I was hoping that one of the bright minds on this forum could help me out or point me in the right direction.. this is what i have right now (attached)
*edit putting php in a post seems to actualy execute it? i couldn't post with it in the message body? that cant be good right..
index.php