thewebman
02-16-2006, 04:52 PM
how do I change file permissions? I can't seem to figure it out. thnx for the help.
|
Click to See Complete Forum and Search --> : file permissions thewebman 02-16-2006, 04:52 PM how do I change file permissions? I can't seem to figure it out. thnx for the help. bathurst_guy 02-16-2006, 05:09 PM chmod (http://php.planetmirror.com/manual/en/function.chmod.php) NogDog 02-16-2006, 05:46 PM chmod (http://php.planetmirror.com/manual/en/function.chmod.php) Be sure to read the notes on that page, as there are a number of restrictions and limitations on using this function within a script. thewebman 02-17-2006, 09:09 AM ok, I want my permissions to look like this: rw-r--rw- what code would I use? NogDog 02-17-2006, 10:45 AM ok, I want my permissions to look like this: rw-r--rw- what code would I use? chmod("/somedir/somefile", 0646); r = 4, w = 2, x = 1 - just add them together and prefix the 3 digits (owner, group, world) with a 0 (zero) to indicate it's an octal number. thewebman 02-17-2006, 09:25 PM thnx NogDog, that worked great! you guys are awesome, thanks soo much! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |