Home >Backend Development >PHP Tutorial >Problems with mkdir creating multi-level directories
mkdir(path,mode,recursive,context)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. |
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.