mkPath($path); } $allow=array('image/jpeg','image/jpg','image/png'