Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $id = 1;
- $code = $_GET['kod'];
- $nr = 70068;
- $desc = "Test API";
- $site=file_get_contents("https://lvlup.pro/api/checksms?id=".$id."&code=".$code."&number=".$nr."&desc=".$desc);
- $json = json_decode($site);
- if ($json->valid)
- {
- echo "1".PHP_EOL;
- }
- else
- {
- echo "0".PHP_EOL;
- }
Advertisement
Add Comment
Please, Sign In to add comment