Re: [PHP-DEV] Bug w/ multi-dimensional form elements and file uploads?

2001-01-19 Thread Zeev Suraski
If it works, +1 :) At 15:21 19/1/2001, Sascha Schumann wrote: > [hate to reply to myself, but I don't want to waste other > people's time looking into this thing.] > > I think I've found the bug. > > The comment in rfc1867.c around line 195 says: > > start_arr is set to po

Re: [PHP-DEV] Bug w/ multi-dimensional form elements and file uploads?

2001-01-19 Thread Sascha Schumann
[hate to reply to myself, but I don't want to waste other people's time looking into this thing.] I think I've found the bug. The comment in rfc1867.c around line 195 says: start_arr is set to point to 1st [ But the code use strrchr to locate the bracket, so start_a

[PHP-DEV] Bug w/ multi-dimensional form elements and file uploads?

2001-01-19 Thread Sascha Schumann
Hi, please consider this part of a form: The file upload code adds Data[user][foo] properly to HTTP_POST_FILES. But then, it tries to add variables like these: Data[user]_name[bar] Data[user]_size[bar] Data[user]_type[bar] php_register_variab