View Single Post
  #1 (permalink)  
Old 26-07-2007, 18:19
MattHawkins MattHawkins is offline
new member
 
Join Date: Jul 2007
Location: UK
Posts: 9
Question PHP and File Permissions

Hi Everyone,

I've got some PHP scripts that either create new files or edit existing ones. (These are DIY scripts and use fopen usually with the "w" parameter).

The only way I can appear to get the scripts to operate correctly is to set the file permissions to 777. Now this makes me nervous

I read that on EUKHost websites files with permission 777 are OK because the server has some sort of security mod that makes it safe (http://www.eukhost.com/support/knowl...gory/security/)

Can some from EUKHost confirm that files with permissions are OK set at 777 ?

I hope that this post will be useful to others because I have always found file permissions difficult to deal with because all web hosts seem to deal with them in different ways.

Thanks,

Matt
Reply With Quote