Welcome! Log In Create A New Profile

Advanced

Re: upload module parameters issue

Francis Daly
October 04, 2011 01:08PM
On Mon, Oct 03, 2011 at 05:35:05PM -0700, Andrew Hammond wrote:

Hi there,

> Thanks very much, that really helped!

> > Note that "resumable" can apply to a single file, without any
> > $upload_field_name set, so you'll get things like "_name" and
> > "_content_type" in your final post content.
>
> What would be the right way to get the $upload_field_name populated?
> Or should I even worry about that? I don't imagine that my usage will
> care about it (I'm going to be including the module and uploading a
> single file at a time), however I'd like the library code to not suck
> too much for the next guy.

I'd say "don't worry about it".

To upload multiple files, you use a form, which will set
$upload_field_name for each file.

Resumable upload with a single file just needs a single set of variables,
so an empty prefix is fine.

All the best,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

upload module parameters issue

Andrew Hammond October 03, 2011 08:36PM

Re: upload module parameters issue

Francis Daly October 04, 2011 01:08PM

Re: upload module parameters issue

Andrew Hammond October 04, 2011 04:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 272
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready