(PHP 3, PHP 4 )
int fputs (int fp, string str [, int length])
int fputs
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.