Re: Writing Files
| From: | Richard Lynch | Date: | Tue, 03 Sep 2002 17:57:22 +0000 |
| Subject: | Re: Writing Files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-115061@lists.php.net to get a copy of this message | ||
>How do you write files so that theyre chmoded 777 by default. the folders
>theyre written to are 0777 but the files aren't. so i cant delete or modify
>the files through PHP, i have to first chmod them with FTP, which takes
>ages.
Do http://php.net/umask before you create them.
Include the optional 0777 value for the parameter to any functions that
accept it.
--
Like Music? http://l-i-e.com/artists.htm