Welcome Guest, Not a member yet? Register   Sign In
How to load files when stored OUTSIDE public folder
#2

[eluser]benurv[/eluser]
just make a variable containing the folder eg: $files = /hosting/yourdomain/etc/...
and use it in your view, i always store files outside of my ci root for security reasons

when those files need to be accessed publically, i use a function to pick up the file by id or so and serve it to the browser


Messages In This Thread
How to load files when stored OUTSIDE public folder - by El Forum - 06-23-2010, 09:33 AM
How to load files when stored OUTSIDE public folder - by El Forum - 06-23-2010, 01:29 PM
How to load files when stored OUTSIDE public folder - by El Forum - 06-23-2010, 01:30 PM
How to load files when stored OUTSIDE public folder - by El Forum - 06-23-2010, 01:36 PM
How to load files when stored OUTSIDE public folder - by El Forum - 06-24-2010, 06:21 AM
How to load files when stored OUTSIDE public folder - by El Forum - 06-24-2010, 06:50 AM
How to load files when stored OUTSIDE public folder - by El Forum - 06-24-2010, 09:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB