ң

gzread

(PHP 3, PHP 4)

gzread - Binary-safe gz-.

string gzread (int zp, int length)

gzread() length gz-, zp . , length () , EOF, ң.

// gz- $filename = "/usr/local/something.txt.gz"; $zd = gzopen ($filename, "r"); $contents = gzread ($zd, 10000); gzclose ($zd);

. gzwrite() , gzopen() , gzgets() , gzgetss() , gzfile() gzpassthru() .


ң
gzputs gzrewind