亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

When laravel uses ajax and formData() to upload files, $request->file() cannot obtain the file information. What should I do?
給我你的懷抱
給我你的懷抱 2017-05-31 10:31:43
0
2
1178

Using $_FILES can get information, but I want to use laravel's $request to get the information and process it. Does anyone have a solution?

給我你的懷抱
給我你的懷抱

reply all(2)
Ty80

Print $request->headers and see what the Content-Type sent by ajax is. Generally, the Content-Type is wrong.

淡淡煙草味

If the file is cross-domain, the file may not be received. I don’t know what your specific situation is.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template