how create subdirectory in php

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
qumar
Forum Commoner
Posts: 29
Joined: Wed Nov 01, 2006 8:20 am

how create subdirectory in php

Post 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.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

mkdir has a recursive parameter (check the link)...
youscript
Forum Newbie
Posts: 10
Joined: Thu Sep 13, 2007 3:22 am

dir

Post by youscript »

mkdir ("test/subdir");
Post Reply