$_SERVER['php_auth_user'] on other servers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Muffinman

    $_SERVER['php_auth_user'] on other servers

    Hi,

    I got a web site which kinda relies on the $_SERVER['php_auth_user']
    var. Now I got a free account at Lycos and apparently they do not have
    Apache or do not have it running as a module since this var is empty.
    All I want is to be able to see which user has logged in through the
    ..htaccess dialog. Is there any other way to find this out, even on other
    web servers?

    Thanks in advance, Maarten

  • Alan Little

    #2
    Re: $_SERVER['php_auth_user'] on other servers

    Carved in mystic runes upon the very living rock, the last words of
    Muffinman of comp.lang.php make plain:
    [color=blue]
    > Now I got a free account at Lycos and apparently they do not have
    > Apache or do not have it running as a module[/color]

    Um...a module? A module of what? "Hey Vern! We got that Apache thing there
    on our IIS?" :)
    [color=blue]
    > All I want is to be able to see which user has logged in through the
    > .htaccess dialog.[/color]

    Try $_SERVER['REMOTE_USER'];

    --
    Alan Little
    Phorm PHP Form Processor

    Comment

    Working...