Buying PHP work with directory creation

Discussion in 'Programming' started by lhornaday, Jun 17, 2011.

  1. #1
    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!
     
    lhornaday, Jun 17, 2011 IP
  2. lhornaday

    lhornaday Active Member

    Messages:
    269
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    As Seller:
    100% - 5
    As Buyer:
    100% - 4
    #2
    Done, thanks to jazzcho
     
    lhornaday, Jun 17, 2011 IP