zlib - compress files instead of strings

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
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

zlib - compress files instead of strings

Post by anjanesh »

gzwrite compresses a string to a file. I have 5 files and I want them to be comppressed into another file. Is there anyway to add files for comppression rather than reading the strings from each file and compress the string to the file ?
Thanks
Post Reply