int fwrite ( resource $handle , string $string [, int $length ] )