Guest User

Untitled

a guest
Feb 28th, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. private static function &doTheCurl($url, $options)
  2. {
  3. $curlo = curl_init($url);
  4. curl_setopt_array($curlo, $options);
  5. $response = curl_exec($curlo);
  6. self::$curlError = curl_error($curlo);
  7. self::$curlErrNo = curl_errno($curlo);
  8. curl_close($curlo);
  9.  
  10. self::$resultData = $response;
  11.  
  12. return $response;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment