fwrite

Example

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

Description

fwrite() writes the contents of string to the file stream pointed to by handle.

Return Values

fwrite() returns the number of bytes written, or FALSE on error.