I am using php on windows. I have a list of file (actually 5 zip files) that I want to put in an archive so visitors to the site can download and extract component files from it.
In unix I would use 'cpio' to archive these files. How can I do it with php.
Use PHP exec() command. For example: <?php $command = "pkzip a ArchiveName File1.ext file2.ext"; exec($command); ?>
You have to read exec() documentation to add archiver return code processing, etc.
Thank you savva, you've been a world of help. I still can't believe it is that simple.