dude87121 Posted January 4, 2007 Share Posted January 4, 2007 Hi. Im looking for a code that can read a directory and sub directories.Example:../dir1../dir1/dir1../dir1/dir2../dir1/dir2/dir3Thanks Link to comment https://forums.phpfreaks.com/topic/32898-read-directory-and-sub-directories/ Share on other sites More sharing options...
kenrbnsn Posted January 4, 2007 Share Posted January 4, 2007 Look at the [url=http://www.php.net/glob]glob()[/url] and [url=http://www.php.net/is_dir]is_dir()[/url] functions.Ken Link to comment https://forums.phpfreaks.com/topic/32898-read-directory-and-sub-directories/#findComment-153157 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.