RE: [PHP-WIN] how to use umask() ???
| From: | HKG) | Date: | Wed, 02 Apr 2003 12:10:31 +0000 |
| Subject: | RE: [PHP-WIN] how to use umask() ??? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19255@lists.php.net to get a copy of this message | ||
Is it possible to uses chmod() on newly created files instead?
In such case you don't have to care about the umask() (which I don't
think you should have to fiddle around with in the first place even...)
> -----Original Message-----
> From: Aidal [mailto:aidal@nospam.dk]
> Sent: Wednesday, April 02, 2003 10:11 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] how to use umask() ???
>
>
> Hi NG.
>
> I'm having problems with my web application changing file permissions when
> creating, editing or deleting text files.
> My web host thinks it's because I need to use umask() but I'm not quite sure
> just how to use this function.
>
> I've read the describtion on www.php.net but that didn't enlighten me much.
> (As in, don't give me a link to www.php.net because it wont help me)
>
> Can anyone explain to me how to use this function?
>
> My php application creates, reads, wrrites, copies and deletes text files
> and I want the file permissions to stay intact.
> The application needs all permissions to the files: read, write and execute
> (as i recall them stated when accessing through FTP).
>
> Any help would be much apreciated thanks...
>
> /Aidal
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>