Page 1 of 1

chmod?

Posted: Sat Oct 07, 2006 11:07 pm
by Myspacelogin
Ahhh Help how do you setup php chmod???

Posted: Wed Oct 11, 2006 8:37 am
by TheCrymsonLegends


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.


Posted: Wed Oct 18, 2006 4:50 am
by mohumben
I think he means to CHMOD files using PHP's chmod() function.

Most shared hosts simply do not allow PHP to do this.

Posted: Wed Oct 18, 2006 7:53 am
by Lixas
mohumben wrote:I think he means to CHMOD files using PHP's chmod() function.

Code: Select all

chmod&#40] NOTE: the "somedir" should be chmoded to 0777

Posted: Wed Oct 25, 2006 12:27 pm
by paopao00
yes ! please set 0755

Posted: Sun Nov 26, 2006 12:16 pm
by rwshthn
TheCrymsonLegends 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.

no word after this