Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- header('Content-Type: application/xml');
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "https://www.xxxxxx.com/api.php?action=auth&user=xxxx&pass=xxxx");
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, FALSE);
- curl_exec($ch);
- curl_close($ch);
- curl -k 'https://www.xxxxx.com/api.php?action=auth&user=xxxx&pass=xxxx'
Add Comment
Please, Sign In to add comment