
From the Kids TV from the Planet Wrong challenge. See all 587 entries (closed)
(, Fri 4 Jun 2004, 23:18, archived)
is it possible to change file permissions from within a php script?
(, Fri 4 Jun 2004, 23:21, archived)
Huzzah!
(, Fri 4 Jun 2004, 23:23, archived)
uk.php.net/manual/en/function.chmod.php
watch out for the umask gotcha, it works a bit differently to chmod on the command line.
(, Fri 4 Jun 2004, 23:26, archived)
i really ought to have looked for that function name... silly me
(, Fri 4 Jun 2004, 23:29, archived)
so:
chmod( 'filename', 0755 );
is equiv to
bash$ chmod 755 filename
(, Fri 4 Jun 2004, 23:33, archived)
Virgil looks really pissed off
woo!
(, Fri 4 Jun 2004, 23:25, archived)