how to create a directory using 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
davidklonski
Forum Contributor
Posts: 128
Joined: Mon Mar 22, 2004 4:55 pm

how to create a directory using PHP

Post by davidklonski »

Hi guys

Can anyone tell me whether it is possible to create a directory using PHP, and how to set the permissions for that new directory?
If it is possible, an example would be appreciated.

thanks
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

http://www.php.net/mkdir
there are examples as well
Post Reply