面向对象的上传
基本属性
protected $filename
protected $maxsize
protected $allowExt
protected $allowMime
protected $uploadPath
protected $imgFlag
protected $fileInfo
protected $error
protected $ext
基本方法
public function __construct()
protected function checkError()
protected function checkExt()
protected function checkMime()
protected function checkTrueImg()
protected function checkHttpPost()
protected function showError()
protected function checkUploadPath()
protected function getUniname()
public function UploadFile()