Igor Simic
7 months ago

problem: #javascript and #php file upload error:

"Missing boundary in multipart/form-data POST data"

solution:

                    // remove this line
xhr.setRequestHeader("Content-Type", "multipart/form-data");
                  

...it set by browser so you do not need it