fwrite

(PHP 3, PHP 4 )

fwrite -- Binary-safe file write

Popis

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

fwrite() writes the contents of string to the file stream pointed to by fp. If the length argument is given, writing will stop after length bytes have been written or the end of string is reached, whichever comes first.

Pozn.: if the length argument is given, then the magic_quotes_runtime configuration option will be ignored and no slashes will be stripped from string.

Viz takΘ fread(), fopen(), fsockopen(), popen(), and fputs().