Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
buechereielektrik:unapi:unapi.inc.php [2010-02-19 13:20] – Added function "getCsv()" to class "Picappn". Renamend keys "RVK" to "rvk" and "DDC" to "ddc". strols | buechereielektrik:unapi:unapi.inc.php [2010-03-03 17:13] – strols | ||
---|---|---|---|
Line 52: | Line 52: | ||
| | ||
* | * | ||
+ | | ||
+ | | ||
| | ||
| | ||
Line 1074: | Line 1076: | ||
**/ | **/ | ||
function getData($ppn) { | function getData($ppn) { | ||
+ | // get global $use_curl as switch for the following conditional | ||
+ | global $use_curl; | ||
+ | |||
// check whether curl-Module is available, if not available use fallback | // check whether curl-Module is available, if not available use fallback | ||
- | if (function_exists(' | + | if (function_exists(' |
$ch = curl_init(" | $ch = curl_init(" | ||
curl_setopt($ch, | curl_setopt($ch, |