要使表單能夠上傳檔案,首先第一步就是要新增form 的 enctype 屬性, enctype 屬性有如下 ... <form enctype="multipart/form-data" action="/upload" method="post">.
確定! 回上一頁