I\'m trying to return the files in a specified directory using a recursive search. I successfully achieved this, however I want to add a few lines of code that will allow me
You might want to check out this page about using glob() for a similar search:
http://www.electrictoolbox.com/php-glob-find-files/