chmod?
-
- Posts: 4
- Joined: Sat Oct 07, 2006 11:03 pm
-
- Posts: 1246
- Joined: Wed Feb 16, 2005 6:59 am
Yay, finally a subject I can actually help with.
To CHMOD php files you will need a FTP Program which you can access the server in which your website is hosted. For ex. most ftp addresses are ftp.yousite.com instead of http://www.yoursite.com.
Once your are connected to the server via ftp you can in most FTP Programs drag and drop files and also right **** on them giving you the Right **** Bar thingy. In this bar on many FTP Programs ( I use CuteFTP it's a trial program but very nifty ), you can Change Permission or Properties is the one you select from this menu. On the screen that pops up you will have CHMOD and various codes. Which you can enter a wide range of them. You usually don't want to give access to anyone other than Admin to your important files and with most PHP CMS's such as Php-Nuke or Nuke-Evolution they will tell you what files to CHMOD.
To my knowledge you can only do this with the FTP Program I havn't found any other way of doing this besides after it is on Server Side. If there was a way to do it prior to getting to the server then no one would have to change CHMOD settings. I hope this has helped you.
Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
I think he means to CHMOD files using PHP's chmod() function.
Most shared hosts simply do not allow PHP to do this.
Most shared hosts simply do not allow PHP to do this.
Code: Select all
define('I_LOVE_PHP', true);
mohumben wrote:I think he means to CHMOD files using PHP's chmod() function.
Code: Select all
chmod(] NOTE: the "somedir" should be chmoded to 0777
no word after thisTheCrymsonLegends wrote:
Yay, finally a subject I can actually help with.
To CHMOD php files you will need a FTP Program which you can access the server in which your website is hosted. For ex. most ftp addresses are ftp.yousite.com instead of http://www.yoursite.com.
Once your are connected to the server via ftp you can in most FTP Programs drag and drop files and also right **** on them giving you the Right **** Bar thingy. In this bar on many FTP Programs ( I use CuteFTP it's a trial program but very nifty ), you can Change Permission or Properties is the one you select from this menu. On the screen that pops up you will have CHMOD and various codes. Which you can enter a wide range of them. You usually don't want to give access to anyone other than Admin to your important files and with most PHP CMS's such as Php-Nuke or Nuke-Evolution they will tell you what files to CHMOD.
To my knowledge you can only do this with the FTP Program I havn't found any other way of doing this besides after it is on Server Side. If there was a way to do it prior to getting to the server then no one would have to change CHMOD settings. I hope this has helped you.