![]() Topic awaiting preservation: List HTML files in dir &sub-dirs' (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Yup! code: <?
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Wakkos: I'm not sure if it is possible but you could possibly have some kind of recursive functions which checks to see if something is a directory: code: function read_dir ($dir_name) {
|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() I found this: code: function getDirList ($dirName) {
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Wakkos: Ah Jim lad try this here code arrrrrrrr: code: if (preg_match("/html\$/i", $entry)) {
|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Understood! code: function getDirList ($dirName) { |