A simple solution to the problem that Sina SAE cannot upload files
This article mainly introduces a simple solution to the problem that Sina SAE cannot upload files. I don’t know if it is a BUG of Sina or just me. Question, please share it with everyone.
Today I added a file upload function to the website backend, but a BUG appeared, indicating that the file upload was not selected.
The following is the code part.
?
After checking the code for a long time, I felt that there was no problem with the code. I changed name="attaFile" to name="attafile" with the attitude of giving it a try, that is, changing the uppercase F to lowercase, and the upload was successful.
I wasted half a day on this problem. I was also drunk. I don’t know if it is an SAE problem or if it is the same on all servers.
The above is the entire content of this article, I hope you all like it.
http://www.bkjia.com/PHPjc/1000092.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1000092.htmlTechArticleSimple solution to the problem that Sina SAE cannot upload files. This article mainly introduces the simple solution to the problem of Sina SAE being unable to upload files. , I don’t know if it’s Sina’s BUG or my personal problem,...