RE: [PHP] .htaccess and php

From: Date: Sun, 11 May 2003 13:22:36 +0000
Subject: RE: [PHP] .htaccess and php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147198@lists.php.net to get a copy of this message
> From: Ryan A [mailto:ryan@jumac.com] > > Was just wondering, is there any way everytime a user logs in > via .htaccess > that his username will be sent to my php script? > $PHP_AUTH_USER and $PHP_AUTH_PW are what you're looking for, the WWW-basic-auth username and password from apache > 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, Not necessary fella, and the great thing about PHP is there's usually a work around... unless your doing something super snazzy > and for us blokes who will probably never be able to afford dedicated > hosting in our lifes....how to do it? > > > Any ideas? Rgds, Ben

« previous php.general (#147198) next »