To: martinlarsen at bigfoot dot com (14-Jun-2007 01:13)
[quote]
glob() does not work if the path contains brackets "[" and "]".
For example, this will make it fail:
$files = glob("[myfolder]/*.txt");
No error is returned, just an empty array!
[/quote]
Hi there,
if you backslash the brackets, it should work. Try:
$files = glob("\[myfolder\]/*.txt");
Hope this helps.
