Sina SAE is unable to upload files because it is unable to upload files.
Today, a file upload function is added to the website background. a bug occurs in the result, prompting you Not to upload the file.
The following is the code section.
<Form method = "post" action = "attached. php? Action = upload_post "enctype =" multipart/form-data "> <table width =" 100% "cellspacing =" 0 "cellpadding =" 0 "border =" 0 "> <tr> <td> <input type = "file" name = "attaFile" id = "attaFile"/> </tr> <td valign = "bottom" height = "50 "> <button type =" submit "id =" attaBtn "> OK </button> </td> </tr> </table> </form>
After checking for half a day, I felt that the code was okay. I tried to change name = "attaFile" to name = "attafile", that is, I changed F to lowercase, and the result was uploaded successfully.
This problem is a waste of half a day. I am also drunk. I don't know if it is an SAE problem or all servers.
The above is all the content of this article. I hope you will like it.