Re: Quick question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 19, 2016 at 1:13 PM, Jeffry Killen <jekillen@xxxxxxxxxxx> wrote:

> Hi;
> I am looking at the php online manual at copy;
>
> I am using it in code to create copies of files and directories in a
> directory branch.
> It is failing to copy directories in the branch.
>
> Is that because it is not supposed to be used to copy directories?
>
> The manual does not seem to specify that it can't be used to make
> directories specifically (as if by copying).
>
>
If you scroll down on the manual website, you will see people shared code
on how to do recursive copy that includes subdirectories.  You may try that
if it will work for your case


> The situation is that  a temp dir is created under a different name at the
> same level as the target dir.
> But all the directories in the tree below that can use the same  name as
> the originals.
>
> Thank you;
>
> I have recursive code to develop a full list of included files and
> directories,
> and am looping through backward to make copies of and/or remove selected
> directory structures.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Code <http://code.javadeveloper.asia>, code <http://alwyn.damit.asia>, code
<http://source.bibleverse.asia>, and code <http://johnmac.hephep.asia>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux