Welcome! Log In Create A New Profile


extend the upload module

April 23, 2012 09:52AM

I am using the /nginx_upload_module-2.2.0 with nginx 1.0.15
with great success

I would like to extend it in two ways:

Each HTTP POST request to the module contains a username and a password field and I would like to make some checks on those values as early as possible and possibly reject the request even before the file is uploaded.

I would like to save the file in a directory which depends on the file name and using the original file name instead of the current 10-digit 000... filename

I have studied the code a little bit but I am still unclear as to where exactly I should look to implement (1) and (2)

Subject Author Posted

extend the upload module

JCR April 23, 2012 09:52AM

Re: extend the upload module

Francis Daly April 23, 2012 02:14PM

Re: extend the upload module

Alexandr Gomoliako April 23, 2012 02:42PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready