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
Recently in a WebEngine project I've had to work with the uploading of seriously large files.
Allowing POST input larger than a gigabyte seems massively excessive, and has to be done on the php.ini level so can't be controlled per-script.
The solution was to use a PUT request, then fopen("php://input", "r") to deal with the incoming data.
Could this be handled automatically by Input? The FileInput object could expose a getStream method that works under POST and PUT requests, but with PUT the file wouldn't automatically be loaded into memory.
The text was updated successfully, but these errors were encountered:
Recently in a WebEngine project I've had to work with the uploading of seriously large files.
Allowing POST input larger than a gigabyte seems massively excessive, and has to be done on the php.ini level so can't be controlled per-script.
The solution was to use a PUT request, then
fopen("php://input", "r")
to deal with the incoming data.Could this be handled automatically by Input? The FileInput object could expose a getStream method that works under POST and PUT requests, but with PUT the file wouldn't automatically be loaded into memory.
The text was updated successfully, but these errors were encountered: