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
https://forums.phpfreaks.com/topic/8698-mk-dir/#findComment-31919
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
https://forums.phpfreaks.com/topic/8698-mk-dir/#findComment-31925
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.