XMLHttpRequest file_max_size problem

See all posts Reply

XMLHttpRequest file_max_size problem new!
by ates, 10 years, 8 months ago
Hi, I doing xhr upload, file_max_size not working.Reply
Re: XMLHttpRequest file_max_size problem new!
by colin, 10 years, 8 months ago
Indeed, there is a bug, it will be fixed in the next release.

In the meantime, you can replace the two occurrences of:
$this->file_src_size = (file_exists($file) ? filesize($file) : 0);

with:
$this->file_src_size = (file_exists($this->file_src_pathname) ? filesize($this->file_src_pathname) : 0);
Reply
Re: XMLHttpRequest file_max_size problem new!
by ates, 10 years, 8 months ago
thanks colinReply