fwrite

fwrite -- Binary-safe file write

Description

int fwrite ( int fp, string string [, int length])

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

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

הערה :