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 place, it is to protect the end user from something like virus, spyware, etc... Scott "Jerry Swanson" <pmysql@xxxxxxxxx> wrote in message news:c8099da304111409266e48c985@xxxxxxxxxxxxxxxxx > regular php page, some mysql queries and print html on the screen. > > > > On Sun, 14 Nov 2004 18:19:28 +0100, M. Sokolewicz <tularis@xxxxxxx> wrote: > > depends on what you need it for > > > > > > > > Jerry Swanson wrote: > > > > > What is the optimal PHP file permission? > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php