Added the curl option, "CURLOPT_HEADER, 1" so we can get the http header info Check header info in class.ups.php for codes 100 and 200 any other http code would indicate that the ups API service is down. Added the curl option, "curl_setopt($ch,CURLOPT_TIMEOUT, 60);" which allows a little bit longer for a rate request. Older versions of curl have a dns issue which causes it to hang before a rate is ever returned.
Added the curl option, "CURLOPT_HEADER, 1" so we can get the http header info
Check header info in class.ups.php for codes 100 and 200 any other http code would indicate that the ups API service is down.
Added the curl option, "curl_setopt($ch,CURLOPT_TIMEOUT, 60);" which allows a little bit longer for a rate request. Older versions of curl have a dns issue which causes it to hang before a rate is ever returned.


sanbornm/ups-php,WebuddhaInc/ups-php,sanbornm/ups-php,sanbornm/ups-php,sanbornm/ups-php,sanbornm/ups-php