Home > Backend Development > PHP Tutorial > Problems with mkdir creating multi-level directories

Problems with mkdir creating multi-level directories

WBOY
Release: 2016-07-29 09:14:23
Original
1135 people have browsed it
mkdir(path,mode,recursive,context)
Copy after login
rrree
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.
Multi-level directories will be automatically created only when the third parameter is set to true

The above has introduced the problem of creating multi-level directories with mkdir, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.

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