alexweber15 Posted October 2, 2008 Share Posted October 2, 2008 im developing a new app and i decided to put pretty much all of my files except for css, js and images 1 level below the public/htdocs/www folder... im considering putting everything there including css etc but i cant get it to find the file (too many "../../") is this good or bad practice? is there any kind of convention for this stuff? thanks! Quote Link to comment https://forums.phpfreaks.com/topic/126780-placing-files-outside-publichtdocs-directory-good-or-bad/ Share on other sites More sharing options...
trq Posted October 2, 2008 Share Posted October 2, 2008 is this good or bad practice? Indeed it is. Anything that doesn't need to be within the publicly accessiable directory shouldn't be. css and js do however need to be within reach. Quote Link to comment https://forums.phpfreaks.com/topic/126780-placing-files-outside-publichtdocs-directory-good-or-bad/#findComment-655776 Share on other sites More sharing options...
alexweber15 Posted October 2, 2008 Author Share Posted October 2, 2008 thanks! i was wondering why the css didnt work Quote Link to comment https://forums.phpfreaks.com/topic/126780-placing-files-outside-publichtdocs-directory-good-or-bad/#findComment-655784 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.