AW: [PHP] Copy for directories?
| From: | Tobias Fichtner | Date: | Sun, 22 Apr 2018 08:06:53 +0000 |
| Subject: | AW: [PHP] Copy for directories? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326444@lists.php.net to get a copy of this message | ||
Hi,
PHP dont know how to copy a directory.
You have two options. A recursive copy like this in the comments from
Documentation http://php.net/manual/en/function.copy.php#91010
or you use
systemfunctions with system()http://php.net/manual/en/function.system.php
or
backticks
copy y z
http://php.net/manual/en/language.operators.execution.php
Regards,
Tobias
-----Ursprüngliche Nachricht-----
Von: Jeffry Killen [mailto:jekillen@prodigy.net]
Gesendet: Sonntag, 22. April 2018 07:24
An: php-general General List
Betreff: [PHP] Copy for directories?
Hello:
is there a function for copying a directory, preferably with a recursive
option?
Thanks
JK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php