ErrMsg . "\n"; echo "code: " . $err->Code . "\n"; exit; }else{ echo "code: " . 200 ."\n"; } print_r($header); echo "head $bucket/$key success\n";