-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow identifier transmited in POST #4
Comments
I'm not that sure it is possible since the upload progress module is not the end-point of the upload. |
This is the one that i used. You can see setData method here http://github.com/valums/ajax-upload/blob/master/ajaxupload.js#L317 this is the way to add post parameters to uploaded file. currently i change the url for every upload like so http://dumpz.org/17427/ |
We need in our company nginx php compatibile uploadprogress, so i create a patch that look at first POST parameter + report some new variables. This patch is not heavily tested and can have bugs. |
The patch works like a charm and produced less problems than the original version for us. One note: The 300 character limit means that the hidden form field has to be submitted as one of the first fields in the form. In our environment we increased this limit slightly to 1024chars to be a bit more flexible. (we are having 2 fields on top of each form which are not possible to be removed). |
@phroggar @stanojr Im sorry if this is a simple question - I am having a hard time configuring this setup... Im not using apache at all as a php interpreter, and instead am using php-fpm. Will this still work? How would I integrate the necessary configuration options and what will the upload form look like. Any help is greatly appreciated!!! |
Currently as docs says we have two method to pass X-Progress-ID (GET/Headers). The problem with that is all popular ajax fileuploaders only allow to add post paramteres along with file. Yes, we can point to url with GET parameter, but it will be nice to have it in POST also if it possbile
The text was updated successfully, but these errors were encountered: