Welcome Guest, Not a member yet? Register   Sign In
encrypt_name @ Upload class
#1

[eluser]hykoh[/eluser]
Hello,

i'm not sure if it's a bug or am i just to stupid.

I give the upload library the $config array with encrypt_name = TRUE, but the filename always stay the same ???
#2

[eluser]jeffpeck[/eluser]
After doing the upload and checking for an error...

Code:
$upload_data = $this->upload->data();
                
$file_name = $upload_data['file_name'];
#3

[eluser]mackski[/eluser]
Make sure your config has:

Code:
$config['overwrite']=false;

Otherwise encryption is ignored




Theme © iAndrew 2016 - Forum software by © MyBB