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.
Hello, I use version 0.29 and try unsuccessfully to activate the franch translation of error messages. I do multiple upload (3) and it woks fine. But when i try to test my upload with wrong type of document i always get englih erros messages instaed of french one... i spend lot of time ont his without understand why.
foreach ($files as $file) {
// we instanciate the class for each element of $file
//$handle = new Upload($file); // message in english
$handle = new Upload($files, 'fr_FR');
with this statement i get the following error : Notice: Undefined index: error in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2475 Notice: Undefined index: tmp_name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2516 Notice: Undefined index: name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2517
I use version 0.29 and try unsuccessfully to activate the franch translation of error messages.
I do multiple upload (3) and it woks fine.
But when i try to test my upload with wrong type of document i always get englih erros messages instaed of french one...
i spend lot of time ont his without understand why.
with this statement i get the following error :
Notice: Undefined index: error in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2475
Notice: Undefined index: tmp_name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2516
Notice: Undefined index: name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2517
thank you for your answer.
regards