Welcome! Log In Create A New Profile

Advanced

upload_module не передает в скрипт post параметры

February 21, 2011 03:52PM
Всем - привет:) Помогите разобраться с проблемой в upload_module. Я делаю POST на аплоад модуль, в посте кроме файлов есть еще просто текстовый поля - но в конечном итоге в $_POST только переменные относящиеся к аплоаду файлов - а остальных моих переменных нет - в чем может быть дело? вот простыня настройка:


location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/htdocs$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
include fastcgi_params;
}

location /upload {
upload_pass @upload_end_point;
upload_pass_args on;
upload_tame_arrays on;
upload_store /var/www/htdocs/temp;

upload_store_access user:rw group:rw all:r;

# 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;

upload_cleanup 400 404 499 500-505;
track_uploads proxied 70s;
}

location @upload_end_point {
rewrite ^(.*)$ /u.php last;
}
Subject Author Posted

upload_module не передает в скрипт post параметры

the_buddha February 21, 2011 03:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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