Date: 04/05/00
- Next message: Kristian Koehntopp: "Re: [PHPLIB] Re: User data storage - $user vs. tablefields"
- Previous message: Jose Luis Rodríguez Sevill: "[PHPLIB] Problem beetwenn Javascript and PHP using PHPLIB:Template.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I want to setup a page that takes advantage of $auth, but is still
available to people who haven't logged in yet. The idea is that, if they
are logged in through the proper account, they will receive additional
information on the page that is specific to them.
In looking through the documentation, I found a section titled "Using
default authentication". It sounds just like what I'm trying to do. I've
followed the steps, but I still get prompted to login when trying to view
the page. I'm not sure why it's not working and I thought I'd ask here to
see if anyone could help.
System specific details: RedHat 6.2 (intel), PHP v4.0RC1, PHPLIB 7.0.
I modified local.inc to include the class extension:
class AF_Default_Auth extens AF_Auth {
var $classname = "AF_Default_Auth";
var $nobody = true;
}
Basically, to get things started, I went through the local.inc that came
with the distribution and changed every instance of Example_ to AF_ and
every instance of DB_Example to DB_AtFantasy. I tested using the extension
I listed above. When that didn't work, I tried putting "var $nobody =
true;" inside of AF_Auth itself and removed the AF_Default_Auth. I tested
again and it still didn't work.
Any recommendations?
-Ed
-
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.
- Next message: Kristian Koehntopp: "Re: [PHPLIB] Re: User data storage - $user vs. tablefields"
- Previous message: Jose Luis Rodríguez Sevill: "[PHPLIB] Problem beetwenn Javascript and PHP using PHPLIB:Template.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

