RE: [PHP] Access rights for php files on Linux?

2001-12-18 Thread scott
P] Access rights for php files on Linux? > > Use include files to pass your authentication information. > > include('auth.php'); > ?> > > auth.php: > $username="foo"; > $password="bar"; > ?> > > put auth.php in your home d

Re: [PHP] Access rights for php files on Linux?

2001-12-18 Thread Michael Geier
Use include files to pass your authentication information. auth.php: put auth.php in your home directory with you as owner and apache group id as group, or create a group that contains you and apache user (probably 'nobody'). $> chmod 740 /your/home/dir/auth.php On Wed, 19 Dec 2001, Daniel

Re: [PHP] Access rights for php files on Linux?

2001-12-18 Thread Jim Lucas
l Fassnauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 4:56 PM Subject: [PHP] Access rights for php files on Linux? > Well, I have encounterd a problem which is quite big (for me), so I hope > I find help here. > My setup is a Linux Mach

[PHP] Access rights for php files on Linux?

2001-12-18 Thread Daniel Fassnauer
Well, I have encounterd a problem which is quite big (for me), so I hope I find help here. My setup is a Linux Machine, running Apache with php as a module. In order for the webserver to parse the file, i have to give read permission to world. This is a problem, because about 100 people have she