PHP4 User Manual: Function -> FWRITE

zhaozj2021-02-08  265

FWRITE

(PHP 3, PHP 4> = 4.0.0) FWRITE - binary writing

description

Int fwrite (int FP, String String [, INT Length])

FWRITE () Write the contents of the string string to the file stream specified by the FP. If Length gives it, the end of the words specified by Length after the end is completed.

Note that if the Length parameter gives it, the Magic_QUOTES_RUNTIME configuration option will be ignored, and "/" in the string will not be deleted.

Note: Distinguish between binary and text files (I.E. Windows), this file must be opened using FOpen () with the model of the 'b' parameter.

See FREAD (), FOPEN (), FsockOpen () () () () () () (), and FPUTS ().

转载请注明原文地址:https://www.9cbs.com/read-3411.html

New Post(0)