Fwrite
(PHP 3, PHP 4 >= 4.0.0) fwrite--binary file Write description
int fwrite (int fp, string string [, int length])
The fwrite () writes the contents of string strings to the file stream specified by the FP. If length is given, the specified byte of length will be completed after the end.
Note that if the length parameter is given, then the Web site Building server script Class \phpphp user manual Fancyconfiguration.html#ini.magic-quotes-runtime>magic_quotes_ Runtime configuration options will be ignored, and "" in the string will not be deleted.
Note: On some systems, binary and text files (i.e. Windows) will be differentiated, and this file must be opened with fopen () with a pattern of B parameters.
See Fread (), fopen (), Fsockopen (), Popen (), and fputs ().
http://www.bkjia.com/PHPjc/532346.html www.bkjia.com true http://www.bkjia.com/PHPjc/532346.html techarticle fwrite (PHP 3, PHP 4 >= 4.0.0) fwrite--binary file Write description int fwrite (int fp, string string [, int length]) fwrite () write String s Tring content to the file stream specified by the FP ...