Re: [PHP] Re: PHP file permission

2004-11-15 Thread Greg Donald
On Mon, 15 Nov 2004 15:26:56 -0500, Scott Fletcher <[EMAIL PROTECTED]> wrote: > Why 644 in the first > place, it is to protect the end user from something like virus, spyware, > etc... I fail to see how the specific file permissions of a PHP script that is executed by the web server software has a

Re: [PHP] Re: PHP file permission

2004-11-15 Thread Scott Fletcher
Rule of thumb. set the file permission to 644 for all files execpt the directory, the directory folder would be 755. Most executable files can safely be set to 644 but if your machine or web browser can't run the file then change permission for that file from 644 to 555. Why 644 in the first pla

Re: [PHP] Re: PHP file permission

2004-11-14 Thread Jerry Swanson
regular php page, some mysql queries and print html on the screen. On Sun, 14 Nov 2004 18:19:28 +0100, M. Sokolewicz <[EMAIL PROTECTED]> wrote: > depends on what you need it for > > > > Jerry Swanson wrote: > > > What is the optimal PHP file permission? > > -- > PHP General Mailing List (ht