RE: [PHP] copying an entire directory (and subdirs)
| From: | Boget, Chris | Date: | Wed, 13 Sep 2000 16:36:39 +0000 |
| Subject: | RE: [PHP] copying an entire directory (and subdirs) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16601@lists.php.net to get a copy of this message | ||
> what is the best way to copy an entire directory recursively ?
> like the unix command cp -r dirname destination. ?
<? exec( "cp -r dirname destination" ); ?>
That's the easiest way, anyway...
Chris