cmattoon Posted January 8, 2011 Share Posted January 8, 2011 I've searched around the internet and can't find a good method to do this. To start, I have a database with a field called 'fpath' that stores the filepath (root-relative) to uploaded PDF's. In this case, they're scanned personnel files. What I'd like to do is be able to download relevant PDF's based on a generated report... such as all PDF's of a certain category or all PDF's for a certain user. If there's a specific PEAR package or other script out there that you know works well, I can research it on my own.. but each search result is bringing up a different method to do it, which makes me nervous. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/223736-how-to-dynamically-zip-files-from-php/ Share on other sites More sharing options...
PaulRyan Posted January 8, 2011 Share Posted January 8, 2011 This is something that had always interested me, I've never given it a good shot but here is a link to the PHP Manual for Zip. Link: http://php.net/manual/en/book.zip.php Hope that helps you Regards, PaulRyan. Quote Link to comment https://forums.phpfreaks.com/topic/223736-how-to-dynamically-zip-files-from-php/#findComment-1156501 Share on other sites More sharing options...
cmattoon Posted January 10, 2011 Author Share Posted January 10, 2011 Awesome, thanks! Cant believe that didn't turn up in the search or the stack of books here! Quote Link to comment https://forums.phpfreaks.com/topic/223736-how-to-dynamically-zip-files-from-php/#findComment-1157280 Share on other sites More sharing options...
Adam Posted January 10, 2011 Share Posted January 10, 2011 Cant believe that didn't turn up in the search What were you searching with? It's the first result on Google for "php zip", and entering "zip" into PHP.net's search you're taken straight to it. Quote Link to comment https://forums.phpfreaks.com/topic/223736-how-to-dynamically-zip-files-from-php/#findComment-1157293 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.