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
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
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
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
4 matches
Mail list logo