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? Link to comment https://forums.phpfreaks.com/topic/125848-solved-chmod/ Share on other sites More sharing options...
DarkWater Posted September 25, 2008 Share Posted September 25, 2008 In PHP or an FTP client...? Link to comment https://forums.phpfreaks.com/topic/125848-solved-chmod/#findComment-650749 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. Link to comment https://forums.phpfreaks.com/topic/125848-solved-chmod/#findComment-650753 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? Link to comment https://forums.phpfreaks.com/topic/125848-solved-chmod/#findComment-650762 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! Link to comment https://forums.phpfreaks.com/topic/125848-solved-chmod/#findComment-650765 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. Link to comment https://forums.phpfreaks.com/topic/125848-solved-chmod/#findComment-650768 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! :-) Link to comment https://forums.phpfreaks.com/topic/125848-solved-chmod/#findComment-650802 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.