Hello, I would like a BIG help from you .. lol
what I basically need is to create a system that returns me in% with% of separated, to then print, the values of thema.txt file
Such as WP .
In a .PHP file, which would be outside the THEMAS folder, would return the themes separated by the folders, and their information in thema.php file
ThecurrentcodeIamisthis:
<?php//atribuiçãoavariável$dir$dir=newDirectoryIterator('./themes/');//atribuiovalorde$dirpara$fileemloopforeach($diras$file){//verificaseovalorde$fileédiferentede'.'ou'..'//eéumdiretório(isDir)if(!$file->isDot()&&$file->isDir()){//atribuiçãoavariável$dname$dname=$file->getFilename();//imprimeonomedodiretórioecho$dname."<br>";
}
}
?>
But it just returns me the names of the folders. I need to get the information back from the files located in the folders listed.