Welcome! Log In Create A New Profile

Advanced

Re: Re[4]: upload + fastcgi = cache?

November 11, 2009 07:14AM
Спасибо всем, кто ответил! разобрался почти со всем. Остался один баг:

В настройках добавляем (стандарное, взято из конфига):
upload_set_form_field 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";


А в скрипт приходят только:
Wed Nov 11 12:10:46 2009 file1.content_type => application/octet-stream
Wed Nov 11 12:11:33 2009 file1.path => ....


name не хочет передовать. пробовал менять название переменной, пробовал ставить upload_pass_form_field "^.*$";

name'a нет. это если использовать браузер Mozilla, при IE - все нормально.
Полагаю, проблема в том, что Mozilla просто передает имя файла (без пути) при аплоаде, а эксплорер с путем.

В итоге mod_upload его "чистит" и нэйм пропадает.
Может есть способ запретить аплоаду "чистить" name от путей?
Subject Author Posted

upload + fastcgi = cache?

wasiliy November 09, 2009 04:35PM

Re: upload + fastcgi = cache?

Andrey Zloy November 09, 2009 05:28PM

Re: upload + fastcgi = cache?

wasiliy November 09, 2009 05:33PM

Re: upload + fastcgi = cache?

Dmitry Dedukhin November 10, 2009 03:58AM

Re: upload + fastcgi = cache?

wasiliy November 10, 2009 06:09AM

Re: upload + fastcgi = cache?

Dmitry Dedukhin November 10, 2009 06:40AM

Re[2]: upload + fastcgi = cache?

Sergey Bondari November 10, 2009 07:32AM

Re: Re[2]: upload + fastcgi = cache?

wasiliy November 10, 2009 08:26AM

Re[4]: upload + fastcgi = cache?

Sergey Bondari November 10, 2009 09:08AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 10, 2009 10:40AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 07:14AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 07:31AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 08:04AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 08:18AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 12, 2009 12:56PM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 13, 2009 03:30AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 13, 2009 03:40AM

Re: Re[4]: upload + fastcgi = cache?

Valery Kholodkov November 11, 2009 06:16AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 11, 2009 06:42AM

Re[6]: upload + fastcgi = cache?

Sergey Bondari November 11, 2009 06:46AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 11, 2009 08:24AM

Re: Re[4]: upload + fastcgi = cache?

Valery Kholodkov November 11, 2009 09:22AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 11:35AM

Re: Re[4]: upload + fastcgi = cache?

Valery Kholodkov November 12, 2009 10:42AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 13, 2009 04:42AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 13, 2009 06:16AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 13, 2009 06:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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