Re: Login / Password



FP wrote:
I want to put some code at the top of my pages which will prompt the
user for a name & password if the session variable IDUser is not set.

How do I get the browser to display the login / password dialog and
how do I access the data the user entered.

http://www.php.net/manual/en/features.http-auth.php

Grtz,
--
Rik Wasmus


.



Relevant Pages

  • Re: [PHP] Redirection with header (was Re: [PHP] Cookies and sent headers)
    ... is to actually display some content on another page ... want to leave the user on the page where login was originally handled. ... browser asks the user if they want to send the form again. ... I would definately go for the Location: header solution! ...
    (php.general)
  • Re: IIS basic authentication login prompt - 3 attempts
    ... IIS does not throw this error - the browser does. ... This causes the browser to display a login box. ...
    (microsoft.public.inetserver.iis)
  • Re: Login / Password
    ... How do I get the browser to display the login / password dialog and ... Rik Wasmus ...
    (comp.lang.php)
  • [opensuse] Re: opensuse
    ... the greeter is the login dialog, i.e., the part of KDM ... # Every display has a display name, which consists of a host name ... # Specify a file with X-resources for the greeter, ... # The font used for the "Login Failed" message. ...
    (SuSE)
  • Re: 800x600
    ... >>> browser window shrinks you end up with a photo with one word per ... So if you want to display images at a size ...
    (uk.net.web.authoring)