Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1624

phpBB Custom Coding • Re: $request->file('files'); not working ?

$
0
0
I have found that uploading a single file works just by doing...

Code:

<input type="file" name="files" multiple>
Where I had "files[]" before.

Code:

Array(    [name] => tos104uk.img    [type] => application/octet-stream    [tmp_name] => /tmp/php3to6zX    [error] => 0    [size] => 196608)
I guess as a workaround I could just upload both files individually and see if that works. At this point I can only assume it is some limitation within the request class itself or some bug.

Statistics: Posted by exxos — Mon Jul 01, 2024 3:17 pm



Viewing all articles
Browse latest Browse all 1624

Trending Articles