Re: $PHP_AUTH_USER
| From: | Onur AYHAN | Date: | Mon, 03 Jul 2000 15:52:01 +0000 |
| Subject: | Re: $PHP_AUTH_USER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4515@lists.php.net to get a copy of this message | ||
i recommend you not to use a dB for loginname and passwords.instead,if
you use linux,you can set a .htaccess file under your public_html
directory for users.you may read the passwords from another location and
at this location the passwords are stored in a file that are made with
"htpasswd" command.i think you'd better construct your own password file
with htpasswd.if you want to seperate the users into groups,try making
directories under public_html and using another .htaccess files under
these directories.
-onur
On Mon, 3 Jul 2000, Jerry Hutchings wrote:
> Hello,
>
> Dose any body know the location of a log on script that uses $PHP_AUTH_USER,
> I'm trying to write a logon that requires a dB lookup for authentication and
> getting horribly lost ... :(
>
> Cheers
>
> Jeremy Hutchings
> Programmer
> I-D Media
>
>