Static Public Member Functions | |
static | call_curl ( $in_uri, $in_post=false, &$http_status=NULL, &$content_failure_note=NULL) |
This is a function that returns the results of an HTTP call to a URI. It is a lot more secure than file_get_contents, but does the same thing. More... | |
Definition at line 31 of file co_chameleon_utils.class.php.
|
static |
This is a function that returns the results of an HTTP call to a URI. It is a lot more secure than file_get_contents, but does the same thing.
$in_uri | A string. The URI to call. |
$in_post | If true, the transaction is a POST, not a GET. Default is false. |
$http_status | Optional reference to a string. Returns the HTTP call status. |
$content_failure_note | If there's a content failure, instead of throwing an exception, we will put it in here (if provided). |
Definition at line 40 of file co_chameleon_utils.class.php.
Referenced by CO_places_Basalt_Plugin\_lookup_address(), CO_Place\geocode_long_lat(), and CO_Place\lookup_address().