To traverse a directory tree check out PEAR's Filesystem related utilites File_Find 
and in particular File_Find::maptree

http://pear.php.net/manual/en/packages.file.find.php

cheers,
--thalis


On Sun, 17 Mar 2002, jtjohnston wrote:

> Windows :)
> John
> 
> [EMAIL PROTECTED] wrote:
> 
> > At 17.03.2002  03:10, you wrote:
> > >
> > >Does anyone know of another snippet any place where I can copy *.*
> > >(files and all sub-directories) from one drive to another? In other
> > >words, a "backing-up" function. The snippet I got from
> > >http://www.php.net/manual/en/function.copy.php has been a disaster.
> > >
> > >John
> > Which OS are you using ?
> 
> --
> John Taylor-Johnston
> -----------------------------------------------------------------------------
> 
>   ' ' '   Collège de Sherbrooke:
>  ô¿ô   http://www.collegesherbrooke.qc.ca/languesmodernes/
>    -     Université de Sherbrooke:
>           http://compcanlit.ca/
>           819-569-2064
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to