php创办文件

WBOY
Release: 2016-06-13 10:30:16
Original
808 people have browsed it

php创建文件

<?php $counter_file       =   'aa.txt ';//文件名及路径,在当前目录下新建aa.txt文件 $fopen                     =   fopen($counter_file,   'wb ');//新建文件命令 fputs($fopen,   'aaaaaa ');//向文件中写入内容; fclose($fopen); ?>
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template