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 Link to comment https://forums.phpfreaks.com/topic/159591-need-php-code/ 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... Link to comment https://forums.phpfreaks.com/topic/159591-need-php-code/#findComment-841760 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 Link to comment https://forums.phpfreaks.com/topic/159591-need-php-code/#findComment-841842 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 Link to comment https://forums.phpfreaks.com/topic/159591-need-php-code/#findComment-841846 Share on other sites More sharing options...
morfin91 Posted May 25, 2009 Author Share Posted May 25, 2009 now i'm happy ^^ relly thanks Link to comment https://forums.phpfreaks.com/topic/159591-need-php-code/#findComment-841849 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.