PHP4 User manual: Function-fwrite

Source: Internet
Author: User
H1>
(PHP 3, PHP 4 >= 4.0.0)
Fwrite--Binary file write
Describe

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

Fwrite () writes the contents of string strings to the file stream specified by the FP. If length is given, the byte specified by length is written and ends after.
Note that if the length parameter is given, the magic_quotes_runtime configuration option will be ignored and the "" in the string will not be deleted.
Note: On some systems, the binary and text files (i.e. Windows) will be distinguished, and this file must be opened using the fopen () of the pattern with the ' B ' parameter.
See Fread (), fopen (), Fsockopen (), Popen (), and fputs ().

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.