RE: [PHP] include, chmod, password files

2001-08-08 Thread Johnson, Kirk
If I have a file called db.inc with, for example, this: However, any user on the system can read db.inc cause its chmod'd 0644. If I chmod db.inc 0600 or even 0640, index.php can not include it. How do I go about protecting my files from being read by users on the system? Below is

Re: [PHP] include, chmod, password files

2001-08-08 Thread David Hill
On Wed, 8 Aug 2001 12:03:34 -0600 Johnson, Kirk [EMAIL PROTECTED] wrote: If I have a file called db.inc with, for example, this: However, any user on the system can read db.inc cause its chmod'd 0644. If I chmod db.inc 0600 or even 0640, index.php can not include it. How do I