Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Bzip2 Compression Functions : bzopen

bzopen

Opens a bzip2 compressed file (PHP 4 >= 4.3.3, PHP 5, PECL bz2:1.0)
resource bzopen ( string filename, string mode )

Example 361. bzopen() example

<?php

$file
= "/tmp/foo.bz2";
$bz = bzopen($file, "r") or die("Couldn't open $file for reading");

bzclose($bz);

?>

Change Language


Follow Navioo On Twitter
bzclose
bzcompress
bzdecompress
bzerrno
bzerror
bzerrstr
bzflush
bzopen
bzread
bzwrite
eXTReMe Tracker