downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

LZF> <bzread
[edit] Last updated: Fri, 17 May 2013

view this page in

bzwrite

(PHP 4 >= 4.0.4, PHP 5)

bzwriteEsegue la scrittura binaria di un file bzip2

Descrizione

int bzwrite ( resource $bz , string $dati [, int $lunghezza ] )

bzwrite() scrie il contenuto della stringa dati nel file bzip2 puntato da bz. Se il parametro opzionale lunghezza è specificato, la scrittura si fermerà dopo che siano stati scritti lunghezza byte (decompressi) o al raggiungimento della fine della stringa.

Example #1 Esempio di bzwrite()

<?php
$str 
"dati non compressi";
$bz bzopen("/tmp/foo.bz2""w");
bzwrite($bz$strstrlen($str));
bzclose($bz);
?>

Vedere anche bzread() e bzopen().



add a note add a note User Contributed Notes bzwrite - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites