I have the following code :
if (!file_exists('/public_html/'.'classic/'.'test'.'/')) {
if(!mkdir('/public_html/'.'classic/'.'test'.'/', 0777, true)) {
return false;
}
}
This create only the folder /classic
witch have the permission 0755 and another owner
. How to change to create recusively 2 folders : /classic/test/
? Thx in advance and sorry for my english