URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID8
Нить номер: 2513
[ Назад ]

Исходное сообщение
".htpasswd?"

Отправлено siropchik , 21-Июл-04 13:42 
Probably you can help me to solve next problem.
I have my entry page wiyh User: and Password: fields I'dd like that next entry page(that go after login window) will open only in case if User: and Pasword: wiil be same to user and password I have in my .htpasswd file.
How can I receive a user and password from .htpasswd file?
Thank's.

Содержание

Сообщения в этом обсуждении
".htpasswd?"
Отправлено vadim , 22-Июл-04 10:16 
You dont need to do that. I do that this way: after first page checks your login and password it should set them as environment variables for session. Then you can check theese variables in second script. If you use PHP see section "Session handling functions" in PHP`s manual.