Home > Backend Development > PHP Tutorial > PHP mkdir() definition and usage_PHP tutorial

PHP mkdir() definition and usage_PHP tutorial

WBOY
Release: 2016-07-21 15:47:55
Original
878 people have browsed it

Usage:
mkdir(path,mode,recursive,context)
Parameter Description
path required. Specifies the name of the directory to be created.
mode required. Specify permissions. The default is 0777.
recursive required. Specifies whether to set recursive mode.
context required. Specifies the environment for a file handle. Context is a set of options that modify the behavior of the stream.
mkdir() attempts to create a new directory specified by path.
The default mode is 0777, which means maximum possible access.
mkdir("something");
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319823.htmlTechArticleUsage: mkdir(path,mode,recursive,context) Parameter description path is required. Specifies the name of the directory to be created. mode is required. Specify permissions. The default is 0777. recursive Required. Regulations...
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