'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

Estimations and Effort
HI Gurus,

Would like to know whether SAP have a provision for carrying out the Project es

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

max function question
Hi All
Ihave a table that holds shipment numbers and dates like this

select * from

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

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

Query failed issue with php script but works fine in mssql manager!
hi i have the script below which copies data from one table to another but will only insert new data

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

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