Topic awaiting preservation: List HTML files in dir &sub-dirs' (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-19-2002 11:57
Yup! code: <?
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 09-19-2002 12:49
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 |
posted 09-19-2002 15:16
I found this: code: function getDirList ($dirName) {
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 09-19-2002 15:34
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 |
posted 09-19-2002 17:21
Understood! code: function getDirList ($dirName) { |