denverkurt

TDMCore->UPSResponse($f)

Mar 30th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1.     public function UPSResponse($f) {
  2.         if (extension_loaded('curl')) {
  3.             if (trim($f) != '') {
  4.  
  5.                 $DirPath = TDM_PATH . '/REQUESTS_ANSWERS_SNIFF_DUMP_DEC/';
  6.                 require_once($DirPath . 'file_' . $f . '.php');
  7.                
  8.             } else {
  9.                 ErAdd('Error! Empty getter file');
  10.                 ErShow();
  11.             }
  12.         } else {
  13.             ErAdd('Error! CURL extension is not loaded on PHP!');
  14.             ErShow();
  15.         }
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment