March 18, 201016 yr 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 www.domain.com/event-images.zip from www.domain.com/event-images. Any help is greatly appreciated Thanks
March 18, 201016 yr http://www.web-development-blog.com/archives/tutorial-create-a-zip-file-from-folders-on-the-fly/ Dunno if that's much use to you but probably worth checking out if you haven't already.
March 18, 201016 yr 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 www.domain.com/event-images.zip from www.domain.com/event-images. Any help is greatly appreciated Thanks Hi, I have always used http://www.phpconcept.net/pclzip to create Zip Files on the fly. You should find plenty of documentation there too. Hope this Helps Nathan Attain Web Design
March 19, 201016 yr Author Thanks for your reply Nathan, Do you have some sample code of how I would go about implementing that class? Thanks
March 19, 201016 yr Thanks for your reply Nathan, Do you have some sample code of how I would go about implementing that class? Thanks Hi, http://www.phpconcept.net/pclzip/user-guide/53 Its documented pretty well here, if you do have any issues just let me know. Many Thanks
Create an account or sign in to comment