Google is your friend: he can answer questions faster than posting a request here...
A very quick search
using part of your question as the search text gave over one million hits:
Google: "zip and unzip a file using PHP"[
^]
Most of the links look very, very relevant.
In future, please try to do at least basic research yourself, and not waste your time or ours.