chmod?
Posted: Sat Oct 07, 2006 11:07 pm
Ahhh Help how do you setup php chmod???
SolusVM VPS management, cPanel/WHM/Fantastico, webdesigning help and discussion forums. Get help from co-webmasters and professionals!
https://smokyhosts.com/forums/
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.