Home >Backend Development >PHP Tutorial >Simple solution to the problem that Sina SAE cannot upload files_PHP tutorial

Simple solution to the problem that Sina SAE cannot upload files_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 09:53:49989browse

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.

 ?

1

2

3

4

5

6

7

8

9

10

1

2

3

4 5

67 8 9 10
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,...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn