CI framework source code reading --------- system constant File constants. php

Source: Internet
Author: User
Configure system constants 1. when the file system is working, check and configure these preferences. when the file system is running, these default values will properly increase the security of the system, however, when the underlying layer of php or apache independently opens a process for each user, the octal value is always correct... "/> <scripttype =" text/javascript "src =" http: // www. configure system constants 1. when the file system is working, check and configure these preferences. when the file system is running, these default values will properly increase the security of the system, however, when the underlying layer of php or apache separately opens a process for each user, the value of "8 bytes" is always the correct FILE_READ_MODE for reading files. FILE_WRITE_MODE for writing files. DIR_READ_MODE for reading directories. DIR_WRITE_MODE for writing to directories. 2. file stream mode when fopen () is used () /in popen (), define ('fopen _ read', 'RB'); define ('fopen _ READ_WRITE ', 'R + B '); define ('fopen _ WRITE_CREATE_DESTRUCTIVE ', 'wb'); define ('fopen _ READ_WRITE_CREATE_DESTRUCTIVE', 'W + B '); define ('fopen _ WRITE_CREATE ', 'AB'); define ('fopen _ READ_WRITE_CREATE ', 'A + B'); define ('fopen _ WRITE_CREATE_STRICT ', 'xb '); define ('fopen _ READ_WRITE_CREATE_STRICT ', 'x + B'); file source code: [php]

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.