<!doctype html> <html> <head> <meta charset="UTF-8"> <title>文件上传</title> </head> <body> <h1>文件上传-传统表单方式</h1> <h6>php+form</h6> <form action="upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="myFile"/> <input type="submit" value="上传"/> </form> </body> </html>
php+form表单的文件上传
内容版权声明:除非注明,否则皆为本站原创文章。