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.
Hi, I get the same problem doesn't matter what the size of the file is. the server is set to 2048KB, but when I upload the item (tried all types) then i get the problem.
File not uploaded to the wanted location Error: File too big.
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';
}
File too big. proglem
File not uploaded to the wanted location
Error: File too big.
Please help.
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 :
for :