jpadie,
Ho, Ho NOOOO!
Ur trying to think ahead of me. All this code is for a process that runs files by the quarter keeps shells of the program files in a .zip and moves them to another .zip when completed. That is why it must be explicit extract.
I know ur trying to be helpful and I appreciate it, but the target file folder is too full of files to easily find the newly extracted files, so do not think it practical to add to that complexity with your proposed method. Something like over 100 .zip files. Extracted files are .doc, which have to be manually edited. English composition, editing sort of thing, that can't be automated. Only automation available is to:
1. zip all files by quarter,
2. keep them until needed,
3. run this process to extract needed files,
4. edit,
5. zip into completed zip file.
Otherwise this directory would have over 5,000 file and it would be impossible to get work done. Biggest errors would be wrong files would be processed and that would be a disaster.
I could however, using your idea as a work around:
1.create a temp dir under the existing folder,
2.extract all files there,
3.copy the needed files back to the parent dir,
4.erase the remaining files and delete the temp dir.
Seems like a lot of work to do something that should be an integrated feature of this tool set.
Going to go up on PHP site an look to see it there is an update or beta that has this feature. If not then will put in the suggestion for it, since it doesn't seem to exist.
YMR