Re: HTTP authenticate
| From: | David F. Newhall II | Date: | Thu, 05 Oct 2000 10:15:54 +0000 |
| Subject: | Re: HTTP authenticate | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18718@lists.php.net to get a copy of this message | ||
<input type="hidden" name="PHP_AUTH_USER"
value="<?=$PHP_AUTH_USER?>">
This should work, as long as you are using php to authenticate, and not
.htaccess.
-david
----- Original Message -----
From: "AJDIN BRANDIC" <abrandic@coventry.ac.uk>
To: <php-general@lists.php.net>
Sent: Thursday, October 05, 2000 3:05 AM
Subject: [PHP] HTTP authenticate
> I have a problem and cannot find a solution to it. My client wants to
> have login boxes (html text/password type) (username,password) on his main
> page. Once user enters
> correct details it will take him/her to the protected area. Now I need to
> authenticate the user for each page in the restricted area. If I use HTTP
> authenticate (which is in another file and I use "require" to refear
> to it) then it brings up the windows authentication box which means the
> user has to login again (not good :(). The client deosn't want me to use
> cookies (I was goint to create two cookies PHP_AUT_USER and PHP_AUTH_PW).
> I cannot use sessions since the ISP host doesn't support them.
> Is there any way I could assign values to PHP_AUT_USER and PHP_AUTH_PW
> so I don not get the windows username/pass box but just authenticate once
> through. I realy need this sorted.
>
> Thanx,
>
> Ajdin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>