Re: Directory(parent) Structure
| From: | Jack Dempsey | Date: | Thu, 05 Apr 2001 23:06:50 +0000 |
| Subject: | Re: Directory(parent) Structure | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47334@lists.php.net to get a copy of this message | ||
Sure
.. = parent
../.. = parent of that
etc...
/ = root
you can get to any directory on your server by using a combination of ..
and directory names, or, and this is often a good idea, you can just
specify the location from root, for example
/path/to/my/file
that way if you move the file with .. in it, it'll still find your file
correctly........
jack
Chris Anderson wrote:
>
> I know using ../ in a path moves to the parent directory. But is there a way to move back
> farther then that?