Hello,
I'm looking into making an account validator for wordpress which runs off a validator for another server. Shown here:
http://www.minecraftwiki.net/wiki/User:Oxguy3/Minecraft.net_API
It's running in Wordpress and I just wanted to ask for your opinions on how to do this. The idea I had is that the username they signed up to on the site with would have to be the username being looked for in :
http://login.minecraft.net/?user=<USERNAME>&password=<PASSWORD>&version=12
The only problem with this is the PASSWORD field... how would I go about allowing them to do this and feel secure?
edit:
Is it possible to check if theyre in the database and if so then ALLOW them to register?
$mpaccountvalidator = wp_remote_get('http://www.minecraft.net/haspaid.jsp?user='($login));
if( is_wp_error( $response ) ) {
echo 'Something went wrong!';
} else {
echo 'Response:<pre>';
print_r( $response );
echo '</pre>';
}
Thanks guys,