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 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/'); 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! 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
Archived
This topic is now archived and is closed to further replies.