mkdir() not working

前端 未结 8 2126
日久生厌
日久生厌 2021-02-19 23:08

My code

mkdir(\"/some/absolute/path\",0777);

and

mkdir(\"relative/path\", 0777);

is not working, safe mode is

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 23:21

    You must take the attribute in quotes:

    mkdir('path/to/your/dir','0777');
    

提交回复
热议问题