On Wed, 31 Aug 2005 11:39:04 +1000, in php.internals [EMAIL PROTECTED]
(Kevin Waterson) wrote:
>> print_r(glob("*.{jpg,gif,tif,pdf,bmp,raw}",GLOB_BRACE));
>
>True, but not available to all. It is GNU.
You are right - I missed that win32 uses win32/glob.h
I think a better solution is just to crea
This one time, at band camp, Peter Brodersen <[EMAIL PROTECTED]> wrote:
> If all you want is to supply glob() with a list of full or partial
> patterns I think the desired functionality is already present.
But not on all platforms.
Kevin
--
"Democracy is two wolves and a lamb voting on what
This one time, at band camp, Peter Brodersen <[EMAIL PROTECTED]> wrote:
> >$arr = array('jpg', 'gif', 'tif', 'pdf', 'bmp', 'raw');
> >foreach(glob($arr as $file)){ echo $file; }
>
> glob is currently extremely flexible in its input with the right flags
> and can expand a list. Eg:
>
> print_r(gl