摘要:
控制器类代码load->view('up'); } function up(){ if(!empty($_POST['sub'])){ $file=$_FILES['upfile']; if($file['size']>=200000){ echo 'size no'; } else{ switch ($file['type']){ case 'image/png': $hou='.png'; break; default: $hou=false; bre 阅读全文