Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static function &doTheCurl($url, $options)
- {
- $curlo = curl_init($url);
- curl_setopt_array($curlo, $options);
- $response = curl_exec($curlo);
- self::$curlError = curl_error($curlo);
- self::$curlErrNo = curl_errno($curlo);
- curl_close($curlo);
- self::$resultData = $response;
- return $response;
- }
Advertisement
Add Comment
Please, Sign In to add comment