hi,
i want to copy the contents of one folder into another folder.For that i create the one new folder . I copied the files of already existing folder into new folder.For that i write a code as
[php]
<?php
mkdir("filesscr eate",0777);
copy('admin','f ilescreate');
?>
[/php]
But in that new folder 'filescreate' created. and files in the admin folder are not copied.plz tell that what's the problem in my code.
i want to copy the contents of one folder into another folder.For that i create the one new folder . I copied the files of already existing folder into new folder.For that i write a code as
[php]
<?php
mkdir("filesscr eate",0777);
copy('admin','f ilescreate');
?>
[/php]
But in that new folder 'filescreate' created. and files in the admin folder are not copied.plz tell that what's the problem in my code.
Comment