Copying folders and their files?
Posted: Tue Jul 15, 2003 1:23 am
Hi!
I am writing a script and need some help with moving a folder and it's files, into another folder. I looked at: http://au.php.net/manual/en/ref.filesystem.php and found this:
It's suposed to move testdir into test but I get this error:
Warning: Unable to open 'testdir' for reading: Permission denied in c:\program files\easyphp\www\dir\index.php on line 34
Woulkd this have something to do with chmod? Or is it the wrong way to do it?
Thanks
I am writing a script and need some help with moving a folder and it's files, into another folder. I looked at: http://au.php.net/manual/en/ref.filesystem.php and found this:
Code: Select all
<?php
copy('testdir', 'test') ;
?>Warning: Unable to open 'testdir' for reading: Permission denied in c:\program files\easyphp\www\dir\index.php on line 34
Woulkd this have something to do with chmod? Or is it the wrong way to do it?
Thanks