problem file_max_size

See all posts See thread Reply

Re: problem file_max_size new!
by colin, 10 years, 4 months ago
$handle->file_max_size allows you to set a limit that the class can enforce.

However, the error message suggests that you have a limit set in your php.ini file: upload_max_filesize. You can see its value with phpinfo().

So what happens in your case is that the web server refuses the file because of the limit in your php.ini, well before the class has a chance to check the filesize against $handle->file_max_sizeReply
Re: problem file_max_size new!
by mcpalls, 10 years, 4 months ago
ok tnk,
I thought that max_filesize resetup the php.ini limitReply