Hi,
using a max_file_size is no problem if you don't reach the maximum what is default allowed by the server.
for example:
my server maximum is: 2 mb
in my script i use a smaller value like 100 kb (for image uploads)
if i upload a file what is bigger than 2 mb my size check will not work like
$maxSize = 102400;
if ($temp_filename < $maxSize)
{
move_uploaded_file($temp_filename, $destination_filename);
//and the rest of the code
Is there a solution?