Function curlRequest
Sends a simple cURL request to the $uri specified.
string |
$uri |
The uri to send the request to. Sets <code>curl_setopt($ch, CURLOPT_URL, $uri);</code> |
array |
$options = array() |
<p>An array of cURL options to set (uri is set via the separate parameter) Default is if nothing is set: array( CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 2000 ) See http://php.net/manual/en/function.curl-setopt.php for more info</p> |
boolean
|
boolean |