int fprintf ( resource $handle , string $format [, mixed $args [, mixed $... ]] )
Write a string produced according to format to the stream resource specified by handle.
Returns the length of the string written.