note 39245 added to function.is-dir
| From: | DeekStarr at rn2 dot php dot net | Date: | Wed, 21 Jan 2004 21:16:59 +0000 |
| Subject: | note 39245 added to function.is-dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63983@lists.php.net to get a copy of this message | ||
Just one of them little FYI's ....
$PATH = dirname(C:\PATH.PATH PATH\.); // Valid Linux / Windows path!
$FH = readdir($PATH) or die("Can not open: ".$PATH);
$FH = opendir($PATH) or die("Can not open: ".$PATH);
These do not work on the path!
This may save you head ach if you have interesting path names.
----
Manual Page -- http://www.php.net/manual/en/function.is-dir.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39245
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39245&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39245&report=yes
Search -- http://master.php.net/manage/user-notes.php