I have to pass the numerical information of a C # application to a function in php in order to have a minimum of security.
I have to pass the points of my application (game) to the bank and I want, to avoid some malicious user change their score, add the base64 function to send it from one code to another. I also need to have a type of key string that only the application and the function have to ensure that no one can by the URL change your data maliciously and I do not know how to do this, neither in C # nor in PHP, how do I do?
I know very little of only php and my co-worker C #, in php, I just know how to go here:
<?php
$id_jogador= mysql_real_escape_string($_GET['id_jogador']);
$pontos =mysql_real_escape_string($_GET['pontos']);
$pontos = base64_decode($pontos);
echo $pontos;
?>
As I put here, or in the middle, a string key that has in my friend's C # application that can ensure perfect secure communication of the codes.