javascript - How to make invalid server response -
javascript - How to make invalid server response -
i using dropzone.js , php uploading files.
but documentation of dropzone lacks of saying how tell dropzone file upload failed. understand, want validate files server-side too, so need way how tell dropzone not ok...
does know how? - should send error header?
you in php code:
header("http/1.1 500 internal server error");
dropzone mark file reddish cross (given spritemap loaded).
javascript php ajax file-upload
Comments
Post a Comment