how to create folder using php code?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
felicia
Forum Newbie
Posts: 3
Joined: Sat Nov 27, 2004 1:44 am

how to create folder using php code?

Post by felicia »

hi, i am a newbie. this is my problem:
i have a form where user can insert the folder name and click submit button to create the folder based on the folder name they inserted.
how do i do this using php??and what do i save in the db??
please help!
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

you can create a folder useing [php_man]mkdir[/php_man] function, as for saving what in the db, thats for you to decide, maybe save the folder name and who it belongs too?
Post Reply