Handling plupload's chunked uploads on the server-side
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.). Here is the way to parse the chunks, and store the result in $upload_file (change $uploaded_file to match what you need). $uploaded_file = '/tmp/uploadFile.jpg'; $chunks = isset($_POST["chunks"]) ? $_POST["chunks"] : 0; // If we have a