twilitegxa Posted September 25, 2008 Share Posted September 25, 2008 How do you change the CHMOD of a file to a specific number? Say I was instructed to CHMOD it to 0777. How do I accomplish this task? Quote Link to comment Share on other sites More sharing options...
DarkWater Posted September 25, 2008 Share Posted September 25, 2008 In PHP or an FTP client...? Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted September 25, 2008 Author Share Posted September 25, 2008 PHP, as far as I know. I don't know how to do it in either one. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted September 25, 2008 Share Posted September 25, 2008 PHP, as far as I know. I don't know how to do it in either one. Do you even know what chmod does, or are you like reading some installation file that's telling you to do this? Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted September 25, 2008 Author Share Posted September 25, 2008 No, I don't know what it is, but I was trying to make a hit counter and it said to do it, so I was trying to figure out how. But maybe I don't need to, because I just tried using the code as is, and it works, so apparently I didn't need to do it! Thanks anyway for trying to help! Quote Link to comment Share on other sites More sharing options...
DarkWater Posted September 25, 2008 Share Posted September 25, 2008 No, I don't know what it is, but I was trying to make a hit counter and it said to do it, so I was trying to figure out how. But maybe I don't need to, because I just tried using the code as is, and it works, so apparently I didn't need to do it! Thanks anyway for trying to help! Yeah, I wouldn't really ever chmod something to 777. 755 is the highest I go for most cases. Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted September 25, 2008 Author Share Posted September 25, 2008 Okay, thanks! I still don't know how to do it, but if I ever need to, I'll be sure to ask you! :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.