[eluser]Piter[/eluser]
Hello I am problem is upload files :
That works well
Code:
$config['upload_path'] = './assets/images/producers';
$config['allowed_types'] = 'gif|jpg|png';
$this->load->library('upload', $config);
When I add another file_name does not work anymore: (
Code:
$config['upload_path'] = './assets/images/producers';
$config['file_name'] = substr(md5(time()), 0, 28);
$config['allowed_types'] = 'gif|jpg|png';
$this->load->library('upload', $config);
// error display is: upload_invalid_filetype, upload in jpg, png :(
Help Me Please
IS OK

I using $config['encrypt_name'] = TRUE

is good