4
I have a few folders in my project and I need to go through them all keeping the name of the mother, daughter, and her files folder...
The parent folder is "Manual", inside it I have other folders "Register" and "Reports", in these sub-folders I have some images (screen print), so I need to return an array with the data:
array[0][0] = "Manual";
array[0][1] = "Cadastro";
array[0][2] = "Imagem001.png";
array[1][0] = "Manual";
array[1][1] = "Cadastro";
array[1][2] = "Imagem002.png";
array[2][0] = "Manual";
array[2][1] = "Relatorio";
array[2][2] = "Imagem001.png";
array[3][0] = "Manual";
array[3][1] = "Relatorio";
array[3][2] = "Imagem001.png";
Does anyone know how to do this? I’ve tried using php dir but I couldn’t get the parent folder...
Tried using a foreach() to access objects?
– Sr. André Baill
@Andrébaill The foreach I know how to use hehehe... the problem is accessing each windows directory.
– Isa