glob - multiple patterns
Posted: Sun Aug 03, 2003 12:24 pm
hi
i'm having trouble with the glob function and the filenames.
i have this piece of code
foreach (glob("$_path/*.jpg") as $_file) {
it seems that *.jpg and *.JPG are not the same here.
how do i fix this so *.JPG are also seen ?
is possible to use this function for more than one extension ?
thanks
i'm having trouble with the glob function and the filenames.
i have this piece of code
foreach (glob("$_path/*.jpg") as $_file) {
it seems that *.jpg and *.JPG are not the same here.
how do i fix this so *.JPG are also seen ?
is possible to use this function for more than one extension ?
thanks