Reply to Re: Error: File too big. proglem

Re: Error: File too big. proglem new!
by 2FR3, 12 years, 10 months ago
The solution is in the php.ini file.
You need to modify :
post_max_size = 90M
upload_max_filesize = 90M
max_input_time = 1000
" for exemples !!! "

or informe your users about your server limitations :
change the condition :
    // we delete the temporary files
    $handle-> Clean();

} else {
    // if we're here, the upload file failed for some reasons
    // i.e. the server didn't receive the file
    echo 'file not uploaded on the server';
    echo '  Erreur: ' . $handle->error . '';
}
for :
    // we delete the temporary files
    $handle-> Clean();

} else {
    // if we're here, the upload file failed for some reasons
    // i.e. the server didn't receive the file
    echo 'file not uploaded on the server>';
    echo 'HERE YOUR MESSAGE OR REDIRECT';
}
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important