class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Basically, if you set $foo->file_max_size to a very small value, $foo->processed becomes false, and you have an error in $foo->error which will say "File too big"
But the code has a bug, and so it carries on processing the file even if $foo->processed is false.
I will fix it in the next release. I will try to have a test release before the end of the dayReply
Basically, if you set $foo->file_max_size to a very small value, $foo->processed becomes false, and you have an error in $foo->error which will say "File too big"
But the code has a bug, and so it carries on processing the file even if $foo->processed is false.
I will fix it in the next release. I will try to have a test release before the end of the day