This is a discussion on Apache Access Control: Can I read the Username+PW into a script ? within the Windows Web Servers forums, part of the Web Server and Related Forums category; When using the Apache Access Control a pop-up window appares. After entering the username and password is there any ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
When using the Apache Access Control a pop-up window appares. After entering
the username and password is there any way that my PHP-script can get hold of that information ? The reason is that my script needs to know which user is logged on and I would like to avoid logging on two times. |
|
|||
|
On Tue, 9 Nov 2004 11:56:06 +0100, "Magne Josefsen"
<magne.josefsen@dreng.no> wrote: >When using the Apache Access Control a pop-up window appares. After entering >the username and password is there any way that my PHP-script can get hold >of that information ? > >The reason is that my script needs to know which user is logged on and I >would like to avoid logging on two times. Try the php superglobal $_SERVER array: $_SERVER['REMOTE_USER'] Hope this helps, -- ) Kees Nuyt ( c[_] |