Code Monkey home page Code Monkey logo

Comments (5)

masterzen avatar masterzen commented on August 15, 2024

I'm not that sure it is possible since the upload progress module is not the end-point of the upload.
Can you please give me some links on the "popular ajax fileuploaders", so that I can try one and see how/why the parameters are POSTed.

from nginx-upload-progress-module.

offline avatar offline commented on August 15, 2024

This is the one that i used.
http://github.com/valums/ajax-upload

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/

from nginx-upload-progress-module.

stanojr avatar stanojr commented on August 15, 2024

We need in our company nginx php compatibile uploadprogress, so i create a patch that look at first POST parameter + report some new variables.
You can find patch and other stuff here http://blackhole.sk/~stanojr/uploadprogress-nginx-php-compat/

This patch is not heavily tested and can have bugs.

from nginx-upload-progress-module.

phroggar avatar phroggar commented on August 15, 2024

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).

from nginx-upload-progress-module.

thomascrown avatar thomascrown commented on August 15, 2024

@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!!!

from nginx-upload-progress-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.