Welcome! Log In Create A New Profile

Advanced

Re: Attention Valery Kholodkov :) Upload Module query

December 10, 2011 02:08AM
Thank you Valery and Sergey. I was able to compile nginx on Mac 10.7 using gcc llvm compiler and also able to use Valery's module to upload files to my nginx server. Now I'm stuck in reading the values sent by upload module to backend server, specifically the below fields:

# Set specified fields in request body
upload_set_form_field "${upload_field_name}_name" $upload_file_name;
upload_set_form_field "${upload_field_name}_content_type" $upload_content_type;
upload_set_form_field "${upload_field_name}_path" $upload_tmp_path;

# Inform backend about hash and size of a file
upload_aggregate_form_field "${upload_field_name}_md5" $upload_file_md5;
upload_aggregate_form_field "${upload_field_name}_size" $upload_file_size;

I saw that in PHP it is done using _PHP[ ] syntax, but not sure how could that be done in CppCMS.

Thanks anyways for your earlier replies.
Subject Author Posted

Attention Valery Kholodkov :) Upload Module query

drvirens December 03, 2011 01:34AM

Re: Attention Valery Kholodkov :) Upload Module query

Sergey A. Osokin December 03, 2011 02:28AM

Re: Attention Valery Kholodkov :) Upload Module query

Valery Kholodkov December 03, 2011 07:48AM

Re: Attention Valery Kholodkov :) Upload Module query

drvirens December 10, 2011 02:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
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