Thanks to visit codestin.com Credit goes to www.php.net
The bzip2 functions are used to transparently read and write bzip2 (.bz2) compressed files.