|
$config['upload_path'] = $upload_path;
$config['allowed_types'] = 'xls|xlsx';
$config['overwrite'] = false;
$config['encrypt_name'] = true;
$config['max_size'] = '2048';
$config['remove_spaces'] = true;
$this->load->library('upload', $config);
上传文件名是20121106.xls,怎么会提示The filetype you are attempting to upload is not allowed.求解
|
|