Re: [PHP] Newbie recursive directory

2003-02-11 Thread Chris Hayes
At 23:28 10-2-2003, you wrote: G'day all I've been trying for a day or so to get a script to traverse all the levels of a directory. did you see the first user comment on http://nl.php.net/manual/nl/ref.dir.php ? may help! With help from list archives and web sites I've come up with this:

[PHP] Newbie recursive directory

2003-02-10 Thread Kim Kohen
G'day all I've been trying for a day or so to get a script to traverse all the levels of a directory. With help from list archives and web sites I've come up with this: ?php $the_array = Array(); $thedir = /Users/kim/test/; $handle = opendir($thedir); while (false !== ($file =