Shawn McKenzie wrote:

I need to copy a directory from one location to the other.  I didn't find a
function for this.  Is copy() supposed to work on directories as well as
files, or is there another?

Unix :


cp -r /old/dir /new/dir

Windows :

xcopy /E c:\old\dir c:\new\dir

Use those with :

http://www.php.net/manual/en/function.exec.php



--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to