php實現文件上傳

文件上傳的原理       <form method='post' enctype='multipart/form-data'>                   校驗上傳文件大小 校驗上傳文件類型 校驗上傳文件的真實類型 例如 是不是真正的圖片類型  getimagesize($file['tmp_name']);  檢查文件是否是通過http post方式上傳  is_upload_file
相關文章
相關標籤/搜索