SHARE
TWEET

Untitled

a guest Oct 15th, 2016 461 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ch = curl_init();
  2.             curl_setopt($ch, CURLOPT_URL, "http://username:password@{$ip}/saada_info.php");
  3.             curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  4.             curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
  5.             curl_setopt($ch, CURLOPT_USERPWD, "username:password");
  6.             $result = curl_exec($ch);
  7.             curl_close($ch);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top