'grab_files', multiple extension?


Posted on 16th Feb 2014 07:03 pm by admin

hey guys,

can anyone suggest a way to make to following line of code look for files with more than just 'jpg' within the file name (eg 'jpg, JPG, JPEG, jpeg')

Code: $files = grab_files('./gallery', 'jpg');
thanks

No comments posted yet

Your Answer:

Login to answer
145 Like 49 Dislike
Previous forums Next forums
Other forums

Simpler method of getting variables from mysql
Hi Guys,

I'm trying to streamline my CMS's code and as I was writing a new page it occured to

PHP form authentication
Hi guys,

what am trying to achieve is this: Whenever a user tries to login to my website, an

PayPal Redirect Issue
When I have my paypal button set so that is redirects to http://empiremarketing.ca/order.php,it work

Display Database
I need to create a shopping cart. I found this code online: http://conceptlogic.com/jcart/
Unfort

Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/

User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo

Help uploading .JPG
I have a problem with upload images when the ending is .JPG capitalized.. I really don't know what c

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

Is this possible? If one file assigned to an ID...
I have a page that lists property listings assigned to a specific user (a manage page), with brief t

Embed Video Problem
Hey, thanks for looking!

File to be embedded:

Code: <playlist version="1&q

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash