encrypt file upload - prompt user with original file name on download? |
[eluser]Unknown[/eluser]
Let me start by saying that CI rocks! I've really enjoyed working with this well thought out framework. I apologize if this has been posted before, but I was unable to find something relevant. I'm using ['encrypt_name'] = TRUE; for a file upload. I'm also storing the original file name in my database. How can I prompt the user with the original file name when they try to download? I'd rather they not see the long, encrypted file name. Thanks for any insight.
[eluser]pistolPete[/eluser]
If your files are small use the download helper: Code: // get $data from db If your files are too big to fit in memory, use one of the code examples from here: Code: (...) |
Welcome Guest, Not a member yet? Register Sign In |