daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function makerequest($url) {   
  2.         $requestURL = $url;
  3.         # MAKE THE REQUEST
  4.         $session = curl_init($requestURL);
  5.         curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
  6.         $response = curl_exec($session);
  7.         curl_close($session);
  8.         # RETURN THE RESPONSE
  9.         return $response;
  10.     }
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