PDA

View Full Version : PHP - Creating files/folders automatically



bozley05
February 16th, 2004, 02:22
There must be a way, but I don't know how.. For when users register to my site(for music artists), I want the script to automatically create a folder based on their username and copy template files from another folder into it.

Is there any existing scripts that do this or is it that hard to do (pointing the the correct function(s) at php.net would be sufficient)????

Thanks in advance :cow2:

spec
February 16th, 2004, 02:31
http://ca.php.net/mkdir
http://ca.php.net/copy

bloodyveins
February 16th, 2004, 03:00
http://ca.php.net/mkdir
http://ca.php.net/copy

well, sometimes people need to RTFM. read it first, and you'll learn a bit how to do it.