Home >Backend Development >PHP Tutorial >php 将文件里面的数据大小限制为1M,超过1M则显示最近1M的数据

php 将文件里面的数据大小限制为1M,超过1M则显示最近1M的数据

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-02 11:32:091421browse

php

php file_put_contents生成一个文件,将文件里面的数据大小限制为1M,超过1M则显示最近1M的数据

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn