note 87574 deleted from function.chmod by danbrown
| From: | danbrown@php.net | Date: | Thu, 11 Dec 2008 15:47:52 +0000 |
| Subject: | note 87574 deleted from function.chmod by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148039@lists.php.net to get a copy of this message | ||
Note Submitter: boss at thefiles dot ru
----
Do not forget about eval function, it really helps to make base-8 numbers.
eval("\$chmod=0$rules_user$rules_group$rules_other;");
After that you can freely use chmod($file,$rules); without any limitations.