php - after upload some of the image are missing -


i encountered problem when user upload photo server , of image missing or image wrecked.

this wrecked image address

is there exist experience problem , why happen , how can handle it?

i'm using http://flourishlib.com/docs/fupload class,

$uploader = new fupload(); $uploader->setmimetypes(             array(                 'image/gif',                 'image/jpeg',                 'image/pjpeg',                 'image/png'             ),             'isnotimage'         ); $uploaded = fupload::count('file'); ($i=0; $i < $uploaded; $i++) {     try {         $files[] = $uploader->move(file_path ."public/_file/uploads/slider/", 'file', $i);      } catch (exception $e) {         $message[] = $e->getmessage();         return false;     }  } 

it's works me in local without problem


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -