Antoine Ughetto's Blog: Easy way to find a file in subdirectory with php
Antoine Ughetto has posted an easy way to find a file inside any series of subdirectories with PHP:
I've made a previus post on SPL using RecursiveIterator to parse Array. Today we will use this same RecursiveIterator with a DirectoryRecursiveIterator.
The code is pretty simple and straight forward - a DirectorySearch class that takes in the directory name and recurses through the files and subdirectories to locate the file you're looking for.
The historic takeover of Fannie Mae and Freddie Mac, which could come as soon as this weekend, moved to the forefront of the presidential campaign Saturday.
In the arena that night, the whole last minute was drowned out by cheers — and then when the soaring music swelled, the confetti rained down as the harbinger of balloons and the hopeful first family took the stage, forget about it — it was a perfect end to a convention that last Monday, no one even knew if it would happen. But it did, and I'm so glad to have been there.