Mengatasi Double Image

Bagaimana cara mengatasi double image?

coba buka file simbio_file_upload.inc.php di folder /simbio2/simbio_FILE.
lalu cari bagian berikut :
public function doUpload($file_input_name, $str_new_filename = '')
{
// get file extension
$file_ext = substr($_FILES[$file_input_name]['name'], strrpos($_FILES[$file_input_name]['name'], '.'));
if (empty($str_new_filename)) {
$this->new_filename = basename($_FILES[$file_input_name]['name']);
} else {
//ganti baris berikut
//$this->new_filename = $str_new_filename.$file_ext;
//dengan perintah berikut
$this->new_filename = $str_new_filename;
dst .....
Tips from Senayan SLiMS

Powered by Telkomsel BlackBerry®