PHP CHMOD
January 16th, 2005
This PHP CHMODing tutorial was contributed by Azekeal.
Note that mode is not automatically assumed to be an octal value, so strings (such as “g+w”) will not work properly. To ensure the expected operation, you need to prefix mode with a zero (0): IE, not 666, but 0666 .
bool chmod ( string filename, int mode);
example:
chmod("somefile.php", 0666);
Category: PHP, Web Design

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

