Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username = 'teste';
- $password = 'teste00';
- $url = 'http://cinecriciuma.com.br:8000/player_api.php?username=' . $username . '&password='. $password;
- $http = curl_init($url);
- curl_setopt($http, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($http, CURLOPT_SSL_VERIFYHOST, 0);
- $result = curl_exec($http);
- $http_status = curl_getinfo($http, CURLINFO_HTTP_CODE);
- print curl_error($http);
- curl_close($http);
- echo $http_status;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement