Page 1 of 1

how create subdirectory in php

Posted: Wed Sep 12, 2007 8:46 am
by qumar
hi, how to creat subdirectory in php.
i know how to create directory. this is for creating directory(!is_dir(test)) mkdir(test,0777);
it will create directory. give the diea.
please help to me.
thanks,
qumar.

Posted: Wed Sep 12, 2007 9:27 am
by CoderGoblin
mkdir has a recursive parameter (check the link)...

dir

Posted: Thu Sep 13, 2007 3:43 am
by youscript
mkdir ("test/subdir");