Re: [PHP] php not run as cgi.

2001-07-01 Thread Steven Haryanto
On 01/07/2001 02:49, Jack wrote: >hi everyone, > Does anyone know the best way to secure php source code so it is not >group/world readable? >I can read other users' php source code by writing a simple php script. >I do not prefer to run php as cgi because all user's php file need to >add the hea

Re: [PHP] php not run as cgi.

2001-06-30 Thread Julia A. Case
You can change the group to the group the webserver runs as and then make the file mod 660 (this way the webserver can read but other people can't) Hope this helps, Julia Quoting Jack ([EMAIL PROTECTED]): > hi everyone, > Does anyone know the best way to secure php source code so it is not > g

[PHP] php not run as cgi.

2001-06-30 Thread Jack
hi everyone, Does anyone know the best way to secure php source code so it is not group/world readable? I can read other users' php source code by writing a simple php script. I do not prefer to run php as cgi because all user's php file need to add the header #/usr/bin/php again. Thanks. Jack