I am working on a script that unzips .zip files. The directories are not automatically created so I need it done with PHP. The extracting work is already working. I need someone that can take a path like '/files/images/logo.gif' and create the folders. The extraction loops through each file and folder found so you will have something like this to work with: readme.txt /files/ /files/file.txt /files/documents/ /files/documents/file.txt /files/images/ /files/images/logo.gif Code (markup): I need it to work with any number of sub directories. The final result should have all directories created and files moved. I can plug the code into my script so you can send a simple script that processes the sample I posted. I will send the script on request though. Thanks!