ErrMsg . "\n"; echo "code: " . $err->Code . "\n"; exit; } echo "upload hit success\n";