Re: [PHPLIB] preauth problem.. From: Massimiliano Masserelli (negro <email protected>)
Date: 10/29/99

On Fri, Oct 29, 1999 at 11:32:12AM -0400, Humberto Ortiz Zuazaga wrote:

 HZ> <DANGER> If you have any page on your site that uses default
 HZ> authentication, then auth is not sufficent to protect any other page,
 HZ> you must use perm to protect pages. </DANGER>

This is not true. You can "protect" sensible pages with

$auth->login_if($auth->auth["uid"] == "nobody");

Doing so, you can provide automatic login prompt for those who want to
access protected pages.

Bye.

--
     Massimiliano Masserelli       |     URL:    http://www.interim.it/
     Internet Images S.r.l.        |     Tel:    +39-051-3390671
     vicolo Viazzolo, 3            |     Fax:    +39-051-557890
     40124 - Bologna - Italy       |
-------------------------------------------------------------------------------
Q:	Know what the difference between your latest project
	and putting wings on an elephant is?
A:	Who knows?  The elephant *might* fly, heh, heh...
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.