Jump to content

mk dir


feri_soft

Recommended Posts

I can't give you a script, but I can point you to the user notes in the manual for the [a href=\"http://ca.php.net/manual/en/function.mkdir.php\" target=\"_blank\"]mkdir function[/a].

If you're going to allow users to create directories you need to be VERY VERY careful about it!!
Link to comment
Share on other sites

I've seen the manual but i didn't gound any useful think at all.And about the use i want to create a script which uploads files to a certain directory.And the directory have for name the username of a user.The script must check if there is already a category with the name of the uploader and if there isnt it must create one and continue uploading ;)
the other possibility that i have is to create some directories 5-6 but they will have about 200-300 files each and i don't know will that is going to slow down the server much.If you think that it won't i can proceed with the 2-nd method ;)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.