RE: [PHP-DB] file permissions
| From: | John Holmes | Date: | Wed, 25 Sep 2002 23:58:38 +0000 |
| Subject: | RE: [PHP-DB] file permissions | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21989@lists.php.net to get a copy of this message | ||
> When I create a dir using mkdir in php how can I set it so the dir
created
> has full access? I need it as it will store temporary files before
they
> are emails then removed after being received. That bit is easy, but
how
> do I actually set the permission of the folder and files within it so
I
> can remove them after?
Look at umask().
www.php.net/umask
---John Holmes...