fputs

(PHP 3, PHP 4 )

fputs -- Writes to a file pointer

Description

int fputs ( resource handle, string str [, int length])

fputs() is an alias to fwrite(), and is identical in every way. Note that the length parameter is optional and if not specified the entire string will be written.