DiscoTrio Posted November 17, 2009 Share Posted November 17, 2009 Hello, Im working on a user system where each time a user signs up he get a folder (which I succesfully did) and I need a way to insert a file into that folder. I have the folder name on a string already and the file already made. What code do I use to copy the file with a new name into that folder. Im am doing all this from a php script. Link to comment https://forums.phpfreaks.com/topic/181817-solved-insert-file-into-directory-from-php/ Share on other sites More sharing options...
mikesta707 Posted November 17, 2009 Share Posted November 17, 2009 copy() Link to comment https://forums.phpfreaks.com/topic/181817-solved-insert-file-into-directory-from-php/#findComment-958866 Share on other sites More sharing options...
DiscoTrio Posted November 17, 2009 Author Share Posted November 17, 2009 So I would say: copy(" ..... Wait, what goes there in what order? Link to comment https://forums.phpfreaks.com/topic/181817-solved-insert-file-into-directory-from-php/#findComment-958870 Share on other sites More sharing options...
DiscoTrio Posted November 17, 2009 Author Share Posted November 17, 2009 nvm found it myself! *solved* Link to comment https://forums.phpfreaks.com/topic/181817-solved-insert-file-into-directory-from-php/#findComment-958871 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.