pp wrote:
> $useradmin = mgd_auth_midgard("admin","pass",0);
> // I think login and pass are 200% correct, I log with them to sitegroup with no
>problem
> if (!$useradmin) { echo "err" .mgd_errstr(); }
> else { echo "errok" .mgd_errstr(); }
> //MGD_ERR_OK
> // looks like useradmin is set
> echo "$useradmin->id";
> //returns nothing
That is correct. I'm surprised PHP doesn't complain about this.
mgd_auth_midgard returns the userid, not a person object.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]