Cobalt.Board Posted February 17, 2009 Share Posted February 17, 2009 Hey there. I am making a PHP application and I need to know how to do the following. Go into each sub-directory and find a config.php file Read a setting off the file Echo that setting in a dropdown list (the different directorys' settings fill up the dropdown.) Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/145500-directories-help/ Share on other sites More sharing options...
premiso Posted February 17, 2009 Share Posted February 17, 2009 glob dir - check specifically in scandir You may also need fread or file Link to comment https://forums.phpfreaks.com/topic/145500-directories-help/#findComment-763879 Share on other sites More sharing options...
Cobalt.Board Posted February 17, 2009 Author Share Posted February 17, 2009 Scandir lists out in a way that I can not use for a drop down, as does glob. Link to comment https://forums.phpfreaks.com/topic/145500-directories-help/#findComment-763882 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.