Re: [phplib] login_if problem From: Tarique Sani email protected>> (tarique <email protected>)
Date: 05/25/01

On Fri, 25 May 2001, Anatole wrote:

How exactly are you calling login_if() ?

login_if() works only under specific conditions as stated in the docs ;-)

I tore my hair out when I tried to do

login_if(!$auth->have_perm(Admin));

I had assumed that if a person who does not have Admin perms visits
the page he will be shown the login form.

Well it does not work that way :-(

Cheers
Tarique

-- 
=========================================
       B2B Application Providers
        http://www.sanisoft.com
 Vortal for Nagpur http://nagpurcity.net
=========================================

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>