note 76173 added to function.glob
| From: | hofmann dot niklas at web dot de | Date: | Tue, 03 Jul 2007 21:11:56 +0000 |
| Subject: | note 76173 added to function.glob | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128202@lists.php.net to get a copy of this message | ||
if your script runs in a directory which contains brackets "[" and "]" glob does
not work. example:
script path: c:/dir1/[baddir]/dir2/script.php
Ãf you use glob("c:/*") or similar calls in this script, it will fail!!
you do not even have to use the brackets in the first parameter of glob!
----
Server IP: 69.147.83.197
Probable Submitter: 91.4.23.168
----
Manual Page -- http://www.php.net/manual/en/function.glob.php
Edit -- https://master.php.net/note/edit/76173
Del: integrated -- https://master.php.net/note/delete/76173/integrated
Del: useless -- https://master.php.net/note/delete/76173/useless
Del: bad code -- https://master.php.net/note/delete/76173/bad+code
Del: spam -- https://master.php.net/note/delete/76173/spam
Del: non-english -- https://master.php.net/note/delete/76173/non-english
Del: in docs -- https://master.php.net/note/delete/76173/in+docs
Del: other reasons-- https://master.php.net/note/delete/76173
Reject -- https://master.php.net/note/reject/76173
Search -- https://master.php.net/manage/user-notes.php