note 30295 added to class.dir
| From: | loohser at php dot php dot net | Date: | Thu, 13 Mar 2003 11:46:54 +0000 |
| Subject: | note 30295 added to class.dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45209@lists.php.net to get a copy of this message | ||
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/
--
http://www.php.net/manual/en/class.dir.php
http://master.php.net/manage/user-notes.php?action=edit+30295
http://master.php.net/manage/user-notes.php?action=delete+30295
http://master.php.net/manage/user-notes.php?action=reject+30295