int gzwrite ( resource $zp , string $string [, int $length ] )
gzwrite() writes the contents of string to the given gz-file.
Returns the number of (uncompressed) bytes written to the given gz-file stream.