Can you upload a ZIP, and it automatically extract?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Can you upload a ZIP, and it automatically extract?

Post by simonmlewis »

I know how to upload a file in an PHP script, but I don't know how to upload a ZIP for and for that ZIP to automatically extract to all the FTP folders?

If I could find a way that it would automatically extract from a place within the folder structure, how they can I tell the DB where the files are stored, so that a link can be ad-hoc entered onto a page?

First job tho is to do the ZIP extract - is there a PHP method for this?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
dejvos
Forum Contributor
Posts: 122
Joined: Tue Mar 10, 2009 8:40 am

Re: Can you upload a ZIP, and it automatically extract?

Post by dejvos »

Post Reply