Forum Moderators: coopster

Message Too Old, No Replies

Creating new directory and files with PHP

         

mmmwowmmm

9:53 am on Dec 23, 2007 (gmt 0)

10+ Year Member



Hello,

I've been looking for a PHP script that can do the following: allow a user to create a new directory and create files to be placed in the directory upon submitting a form. The name of the new directory, as well as some of the content of some of the new files, will be filled in with info the user supplies in the form.

Can anyone point me in the right direction? I've been doing searches like: "PHP scripts" + "create new files", and I find myself wading through a sea of "file manager" scripts, targeted towards admins (whereas what I want is something for anonymous users). Any help would be greatly appreciated. Thanks!

Phil

eelixduppy

10:06 am on Dec 23, 2007 (gmt 0)



You should get a good start with just the file system [us2.php.net] functions in the php documentation. Read up on the functions and try to implement something.