php3-list | 199903
Date: 03/31/99
- Next message: Brian S. Craigie: "[PHP3] OOPS!"
- Previous message: Gael Duval: "Re: [PHP3] little question about socket use"
- In reply to: Rasmus Lerdorf: "Re: [PHP3] is_writeable"
- Next in thread: Bo Meyer: "Re: [PHP3] is_writeable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:07 31/03/99 -0500, Rasmus Lerdorf wrote:
>> I know about is-writeable, but it will only tell me if a file is writeable
>> if it exists before-hand. I'd like to find out if a file is writeable
>> without it existing; ie confirm that a directory will allow me to write
>> there before I try and create the file.
>
>Hrm.. From your last sentence there, this appears obvious to me. Simply
>check the directory with the is_writeable() function.
*duh*
I misread; 'bool is_writeable(string filename); Returns true if the
filename exists and is writeable.' as 'returns true if the file exists...'.
Btw, the example in the 'is_writeable' quick reference cites 'is_readable'
as the syntax.
james.
-- ------------------------------------------------------------------------------ James Coates http://www.c2.net/ Web Developer t: +44 1635 523700 C2Net Europe Limited f: +44 1635 552529-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Brian S. Craigie: "[PHP3] OOPS!"
- Previous message: Gael Duval: "Re: [PHP3] little question about socket use"
- In reply to: Rasmus Lerdorf: "Re: [PHP3] is_writeable"
- Next in thread: Bo Meyer: "Re: [PHP3] is_writeable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

