tcorbeil Posted March 21, 2007 Share Posted March 21, 2007 Here's a question: If I have a main page and wish to have a user click on a button with the intent to create a subpage of the main.. can this be done? Lets say I have my main page on my server in a directory called main, once the user clicks on a button, the contente of the directory called main is copied and pasted into a new directory which would be named by the user.. I know this may not be an easy task but if someon could point me in the right direction, it would be much appreciated.. Thanks. T. Quote Link to comment Share on other sites More sharing options...
fert Posted March 21, 2007 Share Posted March 21, 2007 http://us3.php.net/manual/en/function.copy.php http://us3.php.net/manual/en/function.mkdir.php That's all you would need to do this Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.