Need help creating zip file with PHP

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
highway7
Forum Newbie
Posts: 5
Joined: Sat Apr 11, 2009 3:21 pm

Need help creating zip file with PHP

Post by highway7 »

Hi,

I have created an event site which has an image uploader which creates a directory for the images for each event. Admin users then need to be able to log in to the back end and download these events as zip files. So, basically, I need to know how to create a zip file from a directory.

The images are already in there, I just need to know how to create http://www.domain.com/event-images.zip from http://www.domain.com/event-images.

Any help is greatly appreciated

Thanks
Post Reply