When I use plupload to chunk files (setting option chunk_size
), I get a separate PHP request for each chunk. Looking at $_FILES
variable, each chunk is of type "application/octet-stream"
.
Is there any simple, standard and comfortable way how to combine these pieces in PHP at server-side?
With sanity guaranteed (e.g. when one of the pieces is missing etc.).
In the end I used the code from official example bundled with plupload-1.5.2 (examples/upload.php):
http://github.com/moxiecode/plupload/blob/master/examples/upload.php