Welcome Guest, Not a member yet? Register   Sign In
Can Directory Helper access directories outside httpdocs?
#1

[eluser]dobbler[/eluser]
Hi,

Anyone know if it's possible to use the Directory Helper to display files and folders within a directory outside the "www" or httpdocs. If so, what path should I enter, pre-slash? Trailing Slash? or if not, anyone have any ideas how I could go about it?

Many thanks,

Rob.
#2

[eluser]brianw1975[/eluser]
lol, Did you not just try it and see what would happen? I would be careful with doing that on a shared host....

As for a real answer it all depends on where the file is at on how you would get to it.... do whatever gets you there faster either ../../ or /var/www/mysite/otherdocs/a.html (not sure about winders)

As for the directory helper....

as it says: "Note: Paths are almost always relative to your main index.php file."

the example has './mydirectory/' and from the source it looks like you should be able to feed it a hard location i.e. '/etc/'




Theme © iAndrew 2016 - Forum software by © MyBB