[PHP] include, chmod, password files

2001-08-08 Thread David Hill
Hello If I have a file called db.inc with, for example, this: ?php // db.inc $user = david; $pass = password; ? I have a my index.php do a include('db.inc'); ok, that works. 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

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