'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')

Did you know?Explore Trending and Topic pages for more stories like this.
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

Using Microsoft Exchange Server with PHP
Hi,

I wanted to know if its possible to fetch email attachments from the exchange server usin

Problem with Sending Mail by PHP
hello all,
I m new to php, can u plz provide me the code to send mail by php having CAPTC

jquery validation in codeIgniter
hai i need to add client side validation to my fiels which are selected in a forloop.the fields are

PHP template help
Ok, I don't know if anyone can help me but I am using PHP templates to make a site. I am a newbie an

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

Take info from one coloum and move to another
Hi all,

I have this:
Code: [Select]$array = "SELECT stock_id FROM stocks WHERE stock_

User information
Hi All,
By using t-code SUIM we get all the user details,if suppose we donot have permission t

Custom Container in module pool program
Hello everyone,

I have created a custom control in my module pool screen. Now I want to s

Sequre login with cookies.
I want to build secure login with cookies. I just want your ideas about this, your suggestions. What

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

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