Re: Authentication -php not installed as module
| From: | (Richard Lynch) | Date: | Thu, 13 Jul 2000 02:03:26 +0000 |
| Subject: | Re: Authentication -php not installed as module | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6358@lists.php.net to get a copy of this message | ||
In article <39685DB0.A0D4B8B@online.no>, voxra@online.no (Randi Andersen) wrote:
> I've got a page protected by .htaccess and would like
> to remember the user name for the following pages. I
> don't think php is installed as a module on my server
> (hosting with pair.com) and understand it would need
> to be for me to access the $PHP_AUTH_USER variable?
> A "phpinfo" page for my configuration is up here:
> http://scs.no/test.php3
>
> I don't mind passing variables in the URL, but how
> can I get to it (the user variable that is)?
No can do. The problem is that their username/password would be sniffable
if it was passed to CGI (I think) so it ain't ever gonna happen.
You may want to re-think your authentication and go with a roll-your-own
login page that keeps track of the users, or something like PHPLIB.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)