note 15021 added to function.chmod.php
| From: | gnettles2 at home dot com | Date: | Fri, 24 Aug 2001 15:20:10 +0000 |
| Subject: | note 15021 added to function.chmod.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17078@lists.php.net to get a copy of this message | ||
Usually when you're trying to write to af file, you'll need to chmod the file to something
like 666 or 755. You can use a command to chmod the file for you, which is especially useful when
you're making a script where you're setting it up so that your users don't have to
peform a bunch of actions to setup the script. When i wrote my news program script, I only had two
files. install.php and config.php. All you had to do was chmod install.php to 666 and open it up in
a web browser and answer a few questions. The script itself setup the rest of the files and chmodded
them for you.
http://www.php.net/manual/en/function.chmod.php