Close
Showing results 1 to 2 of 2

Hybrid View

  1. #1

    Default

    i would suggest adding
    curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
    $http_code = curl_getingo($ch, CURLINFO_HTTP_CODE);

    I had to do so for my own sig tool (as seen below) as the armory sometimes redirect, and when the maintenance is on you might get a error 500 and no data instead of the 'maintenance" xml page.

    In any case, check for the "errorhtml" tag in the response xml for armory errors, and check "belowMinLevel" for toons not yet of age.

    [edit]
    Also, make sure you pass a rawurlencoded $server, $guild and $guildie to take care of accentuated names and realms with quotes.
    Last edited by Zub : 02-02-2010 at 07:30 PM Reason: added encoding info
    .[I



Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •