Articles with tag "lzf"


Working with RAR, LZF and BZ2 Compression Formats in PHP

When it comes to dealing with different file formats, it's hard to faze PHP. XML documents, PDF files, JPEG images, MP3 media...you name it and, chances are, there's a PHP extension to handle it. And so it is with compression formats like RAR, LZF and Bzip2 - although these archive formats are far less common today than the ubiquitous TAR and ZIP formats, they are still actively used by many applications and projects, and continue to be supported in PHP via PECL extensions.
That's where this article comes in. Over the next few pages, I'll be introducing you to some PHP extensions that allow you to create, view and manipulate compressed files in these formats. Keep reading, and be prepared to be amazed!
Comments: 1195     Views: 265054     Rating: 12345