upload module parameters issue

Francis Daly francis at daoine.org
Tue Oct 4 17:06:19 UTC 2011


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 at daoine.org



More information about the nginx mailing list