'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

Displaying Site Logo/Icon on a Title tag
really need some help out here. I want to insert a Logo/Icon just like the one close to the "PH

Strange php code found on my website
I got hacked and the following code was placed within my files:

Code: [Select]<?
/*

Problem with HTTP Caching...?
Hi there, im trying to implement caching. But it doesn't always work.
I post it here because ther

Email logic not working
I would like to send an email using the php email() function then if it does execute i.e sends i wou

PHP4 to PHP5 Conversion
Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started f

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

for loop without same $i digits?
Hi,

Can some guru please advise how can I accomplish this with a simple for loop ?

I

mail() problem
Hi Guys,

I've set up a contact email form. It sends the information fine, but it sends it to

Call Screen statement Error
Dear Experts,

is there any setting that needs to be done before creating any dialog progr

iterating through an array and escape each value independently.
I have a set up where the variable being escaped is an array and it needs to be iterated and escaped

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