PHP4 User manual: Function-fwrite_php Tutorial

Source: Internet
Author: User
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 ...

  • 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.