s Anderson" <[EMAIL PROTECTED]>
> Cc: "PHP" <[EMAIL PROTECTED]>
> Sent: Thursday, April 05, 2001 7:06 PM
> Subject: Re: [PHP] Directory(parent) Structure
>
>
> > Sure
> >
> > .. = parent
> > ../.. = parent of that
> > etc...
funny thing is, I thought to try it, but thought it looked too strange to
work ^_^
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>
Cc: "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, Apr
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
../../../../../../../ -> ../n
or
chdir();
--Joe
On Mon, Apr 02, 2001 at 06:44:30PM -0400, 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?
/*
4 matches
Mail list logo