Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Creating new directory and files with PHP

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

Junior Member

10+ Year Member

joined:May 1, 2005
votes: 0


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!


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

Senior Member

joined:Nov 12, 2005
votes: 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.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members