RE: [PHP-DB] Create new directory-wenni
| From: | WNLeong | Date: | Fri, 09 Nov 2001 02:07:18 +0000 |
| Subject: | RE: [PHP-DB] Create new directory-wenni | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14168@lists.php.net to get a copy of this message | ||
Dear Russ,
Thank a lot. Your tips do help me.
This is the answers I get through my research:
$oldumask = umask(0);
if(mkdir("path", 0777))
{echo "New directory created!!";}
else
{echo "Couldn't create directory";}
umask($oldumask);
Thank a lot.
regards,
Wenni
>