promox: abfrge per curl funktioniert nicht

Beitrag lesen

Ich versuche per curl folgende abfrage:

  
 $ch = curl_init();  
  
        // set url  
        curl_setopt($ch, CURLOPT_URL, "http://online-api.de/lizenzsystem/lizenzpruefungen.php?userid=123888&scriptkennung=DRV4-1001&url=reg.big-domain.eu&lang=de&operation=lizenzstatus");  
  
        //return the transfer as a string  
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);  
		curl_setopt($ch, CURLOPT_HTTPHEADER, array ("Content-Type: text/xml; charset=utf-8"));  
  
#curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);  
        // $output contains the output string  
        $output = curl_exec($ch);  
		$scriptlizenz = simplexml_load_string($output);  
var_dump($output);  
        // close curl resource to free up system resources  
        curl_close($ch);  

hier bekomme ich immer null als ergebnis

wenn ich aber selben link im browser aufrufen
(http://online-api.de/lizenzsystem/lizenzpruefungen.php?userid=123888&scriptkennung=DRV4-1001&url=reg.big-domain.eu&lang=de&operation=lizenzstatus)

bekomme ich die richtige Ausgabe

kann mir jemand helfen und mal sagen was da falsch ist.