Blogger Information
Blog 250
fans 3
comment 0
visits 321562
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
文件函数:mkdir()创建目录
梁凯达的博客
Original
982 people have browsed it

实例

<?php
	//函数:mkdir()
	//函数用于在指定目录中创建一个文件夹
	//参数:mkdir([路径],[0777(最大的访问权限),[是否递归])
	//返回值:成功则返回true,不成功则报错
	//mkdir('./huluwa');

	//创建单个文件夹的办法
	mkdir('./huluwawa');

	//创建递归文件夹的办法
	mkdir('./huluwa/1/2/3/4/5/6/7',0777,true);

运行实例 »

点击 "运行实例" 按钮查看在线实例

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post