Alright, so you think you've gotten PHP and files on your local drive working happily together - You can create, delete, rewind, and append with abandon. But where do you put them? In Part 3 of "Working with Files in PHP," John Coggeshall explains how to work with directories.
In this article, they step you through using functions like dir() and the read(), rewind(), and close() functionality built into PHP to access your local directories. Of course, they show you how to tell if something is a directory, how to create a new directory, and remove a directory (just in case, you never know).
This isn't the last part in the series, but it introduces some good ideas and new functions that can make your PHP/Filesystem experience a whole lot simpler. Sure there's other ways to do what they're doing here, but this is probably the simplest I've seen it....




