> mgd_auth_midgard returns true or false, see:
>
> http://www.midgard-project.org/req/midgard-1.4/mgd-auth-midgard.htm
>
> if you want a person object, you could try the following:
>
> <?php
> if(mgd_auth_midgard("login","pass"){
> $newmidgard = mgd_get_midgard();
> $uzer = mgd_get_person($newmidgard->user);
> } else {
> /* mgd_auth_midgard failed. note that
> when using sitegroups you should
> be using "login+sitegroup" always,
> as mgd_auth_midgard has no notion
> of the current sitegroup of a host
> the way mod_midgard has when handling
> http challenge authentication.
> */
> }
> ?>
>
mucios gracias, but I compiled m idgard --without-sitegroups
I want to use multi database system so I do not see any sense
to use sitegroup
BTW I got site with 'auth' access, so I do not have to make
mgd_auth_midgard there, and the most of page code seems
not ot be working in midgard 1.4.1 comparing to midgard 1.2.5
This is shop on-line so there is possibility to add many issues
to basket at one click, now it doesn't work, or even there is no possibility
to add product when another is already in basket, what is this?
I am really afraid cause it happens on working server.
Piotras
_________________________
http://www.infoglob.pl/sklep
http://www.milinski.com.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]