Page 1 of 1

how to create folder using php code?

Posted: Sat Dec 04, 2004 8:27 am
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!

Posted: Sat Dec 04, 2004 8:29 am
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?