Thanks Jason & Jani!Both ur ways work!
$loc = "..\files\poese.txt"
$loc = "..\\files\\poese.txt"
But another question that comes to mind is that why must i include the '..\'
to move down to a sub-directory?
I thought '..\' moves up a directory tree!
This also works both ways :
$loc = "../files
work at all!
> Is it in the correct order/way?
>
>
> -Original Message-----
> From: Fred [mailto:[EMAIL PROTECTED]]
> Sent: 30 November 2001 10:25
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Help with directory !
>
>
> The first one looks like a *nix direct
> The first one works both ways!O and im working on windows
> This works fine : $loc = "./doos.txt"
> This works fine : $loc = ".\doos.txt"
>
> The second one does work at all!
> Is it in the correct order/way?
How come you say "this one works fine" to the second row and in the next
deny it? Ma
November 2001 10:25
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Help with directory !
The first one looks like a *nix directory and the second one looks like a
windows direcrory. Perhaps it will work if you switch your slashes around.
Fred
De Necker Henri <[EMAIL PROTE
The first one looks like a *nix directory and the second one looks like a
windows direcrory. Perhaps it will work if you switch your slashes around.
Fred
De Necker Henri <[EMAIL PROTECTED]> wrote in message
3A8ED7A62794D311AA7700508B6164EC08DCA3F2@SCPTS01">news:3A8ED7A62794D311AA7700508B6164EC0
5 matches
Mail list logo