note 20896 deleted from ref.filesystem by philip
| From: | philip@php.net | Date: | Sun, 13 Oct 2002 21:55:05 +0000 |
| Subject: | note 20896 deleted from ref.filesystem by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-38034@lists.php.net to get a copy of this message | ||
A note concerning the comment of wildpeaks@warpdawg.com above:
This function does not work correctly, because there is missed the slash "/" twice in the
code:
The following line / lines
$isFile = is_file("$dir$entry");
$isDir = is_dir("$dir$entry");
should look like this:
$isFile = is_file("$dir/$entry");
$isDir = is_dir("$dir/$entry");
The "/" applies to Unix or Linux, for Windows it should be "\\" (twice because
the first backslash is a character indicating a special instruction - like "\n" for
newline).