PHP curl exec failing on good url -
i have made other calls using curl different site, url: https://api.eveonline.com/account/apikeyinfo.xml.aspx?keyid=5710518&vcode=qiav0wxj9v8t7ajmkn58fwlw6x55un06pt8srfljnbfagvbuwbx2cswloo4gkjvs
and code believe correct
$service_url = 'https://api.eveonline.com/account/apikeyinfo.xml.aspx?keyid=5710518&vcode=qiav0wxj9v8t7ajmkn58fwlw6x55un06pt8srfljnbfagvbuwbx2cswloo4gkjvs'; $curl = curl_init( $service_url ); curl_setopt( $curl, curlopt_returntransfer, true ); $curl_response = curl_exec( $curl ); if ( $curl_response === false ) { $info = curl_getinfo( $curl ); curl_close( $curl ); die( 'error occured during curl exec. additioanl info: ' . var_export( $info ) ); } curl_close( $curl ); $xml = simplexml_load_string( $curl_response ); print_r($xml);
all eror information says there error during curl exec. there no additional information , nothing able find on google help
Comments
Post a Comment