morfin91 Posted May 25, 2009 Share Posted May 25, 2009 hi. im looking for a code that create a folder with a name thet come from $acc in to C:\www\acc\ and create a .html file with some code after it copy all files from C:\www\acc\majs to the created file. thanks Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted May 25, 2009 Share Posted May 25, 2009 mkdir(), fopen file_put_contents() are your friends... Quote Link to comment Share on other sites More sharing options...
morfin91 Posted May 25, 2009 Author Share Posted May 25, 2009 thanks. but code i get it in a exampel? yes i not so good a php Quote Link to comment Share on other sites More sharing options...
cunoodle2 Posted May 25, 2009 Share Posted May 25, 2009 Check the php manual for examples. I'll even link it for you... http://us3.php.net/manual/en/function.fopen.php http://us2.php.net/file_put_contents http://www.php.net/function.mkdir Quote Link to comment Share on other sites More sharing options...
morfin91 Posted May 25, 2009 Author Share Posted May 25, 2009 now i'm happy ^^ relly thanks 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.