note 17451 added to function.is-writeable
| From: | jallen01 at mindspring dot com | Date: | Mon, 10 Dec 2001 03:13:48 +0000 |
| Subject: | note 17451 added to function.is-writeable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22419@lists.php.net to get a copy of this message | ||
The version of my_is_writeable that uses an fopen calle inside of a fclose call should not be used.
It requires the file actually be openened if it exists! A little number crunching using the
FilePerms is going to end up being more effecient in most cases... At any rate PHP 4 fixes all of
this and there is no need for a user defined is_writeable. <br><br> -Jeremy
--
http://www.php.net/manual/en/function.is-writeable.php
http://master.php.net/manage/user-notes.php?action=edit+17451
http://master.php.net/manage/user-notes.php?action=delete+17451
http://master.php.net/manage/user-notes.php?action=reject+17451