Re: .htaccess and php
| From: | Philip Olson | Date: | Sun, 11 May 2003 14:51:20 +0000 |
| Subject: | Re: .htaccess and php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147210@lists.php.net to get a copy of this message | ||
On Sun, 11 May 2003, Ryan A wrote:
> Hi,
>
> Was just wondering, is there any way everytime a user logs in via .htaccess
> that his username will be sent to my php script?
>
> After searching on google I see that it is possible by editing the
> httpd.conf file and restarting apache...but as we all know very very very
> few hosts will ever do that,
>
> and for us blokes who will probably never be able to afford dedicated
> hosting in our lifes....how to do it?
Read this:
http://www.php.net/features.http-auth
BTW what do you mean by "edit httpd.conf", why? Do you mean
you must disable safe_mode to get the password or setting
AllowOverride to enable use of .htaccess or what?
Regards,
Philip