nade93 Posted September 28, 2010 Share Posted September 28, 2010 Hi All I am trying to set up a system that where a user sets up an account the system automatically sets up a new directory and inserts template files into it. I understand mkdir is something to do with it. Does anyone know how to go about this please? thanks Quote Link to comment https://forums.phpfreaks.com/topic/214641-make-new-directory-and-add-template-files/ Share on other sites More sharing options...
AbraCadaver Posted September 28, 2010 Share Posted September 28, 2010 It's the steps as you do on your personal workstation. mkdir('/path/to/newdir'); copy('/path/to/template/file.tpl', '/path/to/newdir/'); Quote Link to comment https://forums.phpfreaks.com/topic/214641-make-new-directory-and-add-template-files/#findComment-1116836 Share on other sites More sharing options...
nade93 Posted September 28, 2010 Author Share Posted September 28, 2010 ah cool is that it? thought it may be something elaborate! ta very much! Quote Link to comment https://forums.phpfreaks.com/topic/214641-make-new-directory-and-add-template-files/#findComment-1116850 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.