PHP | Upload
function cadastro(){
$this->layout = 'cadastro';
if(!empty($this->request->data)){
$max_files = 2;
$i = 0;
$data = $this->request->data['Empresa']['uploadfile'];
if(!empty($data)){
if(count($data)>$max_files){
throw new NotFoundException(&qu