This article will introduce the method of uploading files. One method uses php iframe to achieve uploading without refreshing. Students in need can refer to it.
First of all, ajax cannot upload files, which misled me for a while. I couldn’t sleep tonight, so I followed the instructions and uploaded files without refreshing
In fact, the principle is very simple
The code is as follows | Copy code td> | ||||
|