Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $url = "http://api.mcbans.com/v2/05f528996527e63b5eae1bee554d822dd042f779/";
- $datatopost = array (
- "exec" => "playerLookup",
- "player" => $username
- );
- $ch = curl_init ($url);
- curl_setopt ($ch, CURLOPT_POST, true);
- curl_setopt ($ch, CURLOPT_POSTFIELDS, $datatopost);
- curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
- $res = curl_exec ($ch);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement