[eluser]Unknown[/eluser]
Hello,
I have been trying to upload a file with following file uploading class: Please check this code
$config['upload_path'] = 'files/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '500';
$config['max_width'] = '500';
$config['max_height'] = '500';
$config['overwrite'] = TRUE;
$config['encrypt_name'] = TRUE;
$this->upload->initialize($config);
I have a problem with $config[‘encrypt_name’] -> the name of a file should be changed to some random string, but isn’t - it has still the original filename.
Thanks,