note 32155 added to function.glob
| From: | johndoe at phpdiscovery dot net | Date: | Mon, 19 May 2003 08:34:06 +0000 |
| Subject: | note 32155 added to function.glob | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48566@lists.php.net to get a copy of this message | ||
Running php-cli 4.31 on Windows 98SE, using glob ("*.txt") in the "official"
example provided above doesn't work.
Using ("../*.txt") does not work correctly. It returns the file name minus the first
letter ie : install.txt becomes nstall.txt not very usefull...
but using ("..//*.txt") works the normal way and returns install.txt
A newbee who thought php was flawless.
----
Manual Page -- http://www.php.net/manual/en/function.glob.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32155
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32155&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32155&report=yes