Re: Password Protected Directories

From: Date: Wed, 22 Nov 2000 13:19:36 +0000
Subject: Re: Password Protected Directories
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26720@lists.php.net to get a copy of this message
You can also use sessions to protect pages. It is much cleaner than using the web browser popup window to allow access or not -- it is much more extensible. I use j-sessions: http://www.nirvani.net/software/j-sessions-1.0.0-pre1/ -jeremy brand Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - I am pleased to see that we have differences. May we together become greater than the sum of both of us. -- Surak of Vulcan, "The Savage Curtain", stardate 5906.4 On Wed, 22 Nov 2000, Brian Clark wrote: > Date: Wed, 22 Nov 2000 15:43:12 -0500 > From: Brian Clark <brianj@fusionwerks.com> > To: Mike <mpeloso@princeton.edu> > Cc: php-general@lists.php.net > Subject: Re: [PHP] Password Protected Directories > > > Hello Mike, > > (M == "Mike") mpeloso@princeton.edu writes: > > M> My host is running Apache and Linux . > M> I have password protection on my directories which has a pop-up dialog > M> box.How can I use the username and password in a php script so the user > M> doesn't have to retype it. > > $GLOBALS['PHP_AUTH_USER'] > $GLOBALS['PHP_AUTH_PWD'] > > (or, before someone says it, their simplified counterparts > $PHP_AUTH_USER & $PHP_AUTH_PWD) > > http://www.php.net/manual/html/features.http-auth.html > > -Brian > -- > You may be recognized soon. Hide. > > > > -- > 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 > >

« previous php.general (#26720) next »