Slades
5 months ago
cURL Returning No Value For Valid Armory
Hey all.

My armory tool for my guild site was working fine up until a day ago. Now, it is broken and I cannot seem to figure out why.

I am using this string as the test URL: http://us.battle.net/api/wow/character/Frostmane/Slades?fields=stats,talents,professions,titles,items,reputation,mounts,achievements

Here is the code for the PHP for the cURL:

$this->URL = "http://us.battle.net/api/wow/character/Frostmane/Slades?fields=stats,talents,professions,titles,items,reputation,mounts,achievements";

$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $this->URL );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
$curl_return = curl_exec( $ch );
curl_close( $ch );


$curl_return has no value if I do a print_r().

Any idea what could be wrong with the cURL all of a sudden?

Thanks.
Edited by Slades on 12/8/11 2:40 PM (PST)
Straton
5 months ago
cURL Returning No Value For Valid Armory
Do all requests fail or is that the only one?
Currently Ranked: News

Bookmark and Share