files outside of the web tree
| From: | Jim Giner | Date: | Wed, 27 Apr 2011 17:08:56 +0000 |
| Subject: | files outside of the web tree | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-312501@lists.php.net to get a copy of this message | ||
I have managed to build include files and store them above my public folder
and the called pages manage to find them from the public folder and properly
include them. My problem is with the html src= attribute. I have uploaded
photos to be included in my web pages and I didn't want them in the web
tree so I moved them above it also. I use php to get the root folder's name
and then I add "../photos/" to the filename's path, but now my tags can't
find them. Can I not do this?