$post_data = [ 'secret' => "2IAA1MxF1ogWf0SMABypavR9mtWh7BWZ", // <- Your secret key 'token' => $_POST['coinhive-captcha-token'], 'hashes' => 1024 ]; $post_context = stream_context_create([ 'http' => [ 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($post_data) ] ]); $url = 'https://api.coinhive.com/token/verify'; $response = json_decode(file_get_contents($url, false, $post_context)); if ($response && $response->success) { // All good. Token verified! } Cryptyio.top - Login
2018 © Cryptyio.top.