note 30295 deleted from class.dir by didou
| From: | didou@php.net | Date: | Thu, 29 May 2003 22:25:03 +0000 |
| Subject: | note 30295 deleted from class.dir by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49355@lists.php.net to get a copy of this message | ||
Note Submitter: loohser@php
----
concerning dir("/way/to/go/..")
returning /way/to/
Dir cant show directory just using path, it has to go into the folder. At least windows has to ;P
[..] is a folder (cd ..) which go to the folder above it in the folder-tree. (just write dir in any
folder, and you'll see .. listed as a dir)
[way] => [muff] => more folders
[to] => [XX]
[go] =>
[..]
dir goes:
cd way;
cd to;
cd go;
cd ..;
path => /way/to/