[eluser]charlie spider[/eluser]
Proponents of maximum site security recommend placing any directories that you wish to save uploaded files to above the web root.
So for instance, I am running XAMPP on my local system, and in order to follow these recommendations I would like to have a directory named "file_uploads" above the "htdocs" directory where I place the files for any site that is being worked on, like this:
-xampp
--apache
--cgi-bin
--file_uploads
--htdocs
---website_being_worked_on
---another_website_being_worked_on
--perl
--php
--tmp
--etc
So let's say I'm working on a "website_being_worked_on", and I want to display an image, how do I access the directory "file_uploads" from my view file ???
I've tried
../file_uploads/image.jpg
../../file_uploads/image.jpg
../../../file_uploads/image.jpg
../../../../file_uploads/image.jpg
etc, etc
and none of them have worked ?
Is this a CI issue or something to do with PHP itself ?