Hi all,
My first post here. Think I'll be around a lot more.
I have created a website for the game trackmania. At the moment players who play on my game server are stored in my Mysql database. To register on the website, they select their username from the list and then supply a password. Obviously its a bad idea as anyone can log in with any ID.
I contacted Nadeo, they guys who created the game, and they say that I can validate a player if they enter a correct community code with their game login. This is where the problem lies.
They have given me this url : http://stats.trackmaniaforever.com/checkCommunityCode.php?login=...&code=... and they have supplied me with a username and password.
If you try using the login above, you will need the username and password, and that is not a problem. But I need my form to access the page, sending the players login and community code, then return the result (errorcode ; access rights).
How do I do this? I have looked at cURL but have no clue to what I am doing.
Any help would be great. Thanks all.