Sina SAE is unable to upload files because it is unable to upload files.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.