You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cURL - Send 2+ files using the same parameter name ("file[]") #15859
Activity
cmb69 commentedon Sep 12, 2024
I think it makes to support this, but in my opinion it's even too late for PHP 8.4.
rbro commentedon Jul 25, 2025
I'm running into this too trying to send files to an API. I'm using the below as a workaround to build the multipart/form-data request on my own:
https://gist.github.com/yookoala/58d5db5da16c6f404ef169eaf5a50249
QcFe commentedon Jul 2, 2026
no updates on this? :(
Sjord commentedon Jul 17, 2026
I created a pull request for this: Post multiple similarly-named files with curl by Sjord · Pull Request #22740 · php/php-src