[PHP] Re: Filenames with spaces in them

2001-12-14 Thread Mike Eheler
Ahh forget it .. I figured it out change to is_dir("$path/$file").. *smack* ignore this altogether mike Mike Eheler wrote: > Consider this code for traversing through a directory structure: > > > function traverse($path='.') { > $path = realpath($path); > $dir = opendir($path); > >

[PHP] Re: Filenames with spaces in them

2001-12-14 Thread Mike Eheler
I'll note that the erroneous command is the is_dir($file).. this causes the problem. Mike Mike Eheler wrote: > Consider this code for traversing through a directory structure: > > > function traverse($path='.') { > $path = realpath($path); > $dir = opendir($path); > > echo "\nDirecto