Curl
bearbeitet von PitHallo,
seit meinem Update (oder auch früher und ich habs einfach noch nicht gemerkt) funktioniert folgende Funktion nicht mehr:
~~~PHP
function my_curl_get_result($url) {
// create curl resource
$ch = curl_init();
// set url
curl_setopt($ch, CURLOPT_URL, $url);
//return the transfer as a string
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// $output contains the output string
$output = curl_exec($ch);
// close curl resource to free up system resources
curl_close($ch);
return $output;
}
~~~
Kennt jemand eventuell einen Grund?
ich hatte die Funktion zuvor einige Jahre problemlos in Betrieb…
Pit