note 16064 added to function.chmod
| From: | jon at zend dot com | Date: | Mon, 15 Oct 2001 12:37:34 +0000 |
| Subject: | note 16064 added to function.chmod | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18927@lists.php.net to get a copy of this message | ||
if 'mode' is held in a variable and is and octal value you need to convert it to decimal
before passing it to the function:
chmod ($filename, octdec($mode))
--
http://www.php.net/manual/en/function.chmod.php
http://master.php.net/manage/user-notes.php?action=edit+16064
http://master.php.net/manage/user-notes.php?action=delete+16064
http://master.php.net/manage/user-notes.php?action=reject+16064