note 39245 deleted from function.is-dir by didou
| From: | didou@php.net | Date: | Thu, 22 Jan 2004 10:33:01 +0000 |
| Subject: | note 39245 deleted from function.is-dir by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64009@lists.php.net to get a copy of this message | ||
Note Submitter: DeekStarr
----
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.