phppaper Posted March 27, 2008 Share Posted March 27, 2008 HI, I am using external linex hosting, therefore I don't know the name of any drivers. I want to know how to point to a place outside the root directory, what should I type in for the address?? Link to comment https://forums.phpfreaks.com/topic/98087-point-to-place-outside-the-root-directory/ Share on other sites More sharing options...
awpti Posted March 27, 2008 Share Posted March 27, 2008 Um.. What? Link to comment https://forums.phpfreaks.com/topic/98087-point-to-place-outside-the-root-directory/#findComment-501943 Share on other sites More sharing options...
ansarka Posted March 27, 2008 Share Posted March 27, 2008 why you want to point out side the root directory you dont hv access to outside root folder assigned to you Link to comment https://forums.phpfreaks.com/topic/98087-point-to-place-outside-the-root-directory/#findComment-501945 Share on other sites More sharing options...
codebyren Posted March 27, 2008 Share Posted March 27, 2008 I'm assuming you're on some sort of setup like: /home/username/www/ - where you have access to the username folder and then also the www folder? In this type of setup, whatever you put in the 'www' directory is your website? well, if you put a directory in your username folder (maybe an "includes" directory so it's not accessible from the web) then you would include like: incldude ('../includes/filename.php'); the ../ means go one directory up. If you are wanting to point to another program installed on the server (e.g. imagemagick) then admin would usually tell you the path to point to. hope this helps. Link to comment https://forums.phpfreaks.com/topic/98087-point-to-place-outside-the-root-directory/#findComment-502040 Share on other sites More sharing options...
phppaper Posted March 28, 2008 Author Share Posted March 28, 2008 Thanks!! my question has answer now Link to comment https://forums.phpfreaks.com/topic/98087-point-to-place-outside-the-root-directory/#findComment-502968 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.