automated validation
Posted: Wed Nov 07, 2012 2:05 pm
Is there a way to send the validation code to be entered automatically the same way the "login.php" file logs the player in from a website to PM?
Right now the player would sign up on our site and the login credentials are stored on our db but when created they are stored in PM also. I also used our verification email code to store as the ValCode on PM.
I know this seems redundant but I'm worried that somebody may try to use the "create a new account" feature in PM without having to create the account on our site.
so right now I'm trying this. first i get the ValCode from PM (and the other info for API call) then redirect like in your login.php example.
header("Location:" . $server . "/?LoginName=" . $player . "&SessionKey=" . $key . "&ValCode=" . $Valcode);
Right now the player would sign up on our site and the login credentials are stored on our db but when created they are stored in PM also. I also used our verification email code to store as the ValCode on PM.
I know this seems redundant but I'm worried that somebody may try to use the "create a new account" feature in PM without having to create the account on our site.
so right now I'm trying this. first i get the ValCode from PM (and the other info for API call) then redirect like in your login.php example.
header("Location:" . $server . "/?LoginName=" . $player . "&SessionKey=" . $key . "&ValCode=" . $Valcode);