FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to match image file names under a directory with glob()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to match image file names under a directory with glob() [message #169856] Tue, 28 September 2010 17:24 Go to previous message
Daniel Peraza is currently offline  Daniel Peraza
Messages: 6
Registered: September 2010
Karma:
Junior Member
Hi there! I need to match those file names corresponding to images
with glob() but I can't find a pattern that
matches .jpg, .png, .gif, .bmp files all at the same time. Would
somebody help me please?

I already tried glob("*.jpg *.png *.gif *.bmp") unsuccessfully.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: ssl and php
Next Topic: global var vs session vs something else maybe?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 20:30:56 GMT 2024

Total time taken to generate the page: 0.05014 seconds