Page 1 of 1

Copy folder

Posted: Tue Jun 14, 2005 9:34 pm
by S_henry
Currently i only can copy file from 1 location to other location. Is it possible to copy folder and its content from 1 location to other location?

Posted: Tue Jun 14, 2005 10:00 pm
by Ambush Commander
You'd have to do something recursively, as PHP doesn't offer a function to do that. Check out the comments section here: http://us2.php.net/manual/en/ref.dir.php for ideas.