خرید بک لینک

Vote count: 0

I am developing a website using Angular JS + Codeigniter. All works fine. But there is problem with image upload. The file names with space will not be uploaded(eg:"first image.jpg"). If we remove the space then it gets uploaded(eg:"firstimage.jpg"). This is my configuration.

 $config = array(
'allowed_types'     => 'jpg|jpeg|gif|png', 
'max_size'          => 2048, //2MB max
'upload_path'       => $this->original_path,
'remove_spaces'     => true

);

$this->load->library('upload', $config);

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 10 خرداد 1395 ساعت: 11:01

صفحه بندی