> 
> Doesn't work? Does mgd_errstr return anything specific? And if you do
> 
> mgd_auth_midgard("", "", 1);
> $env = mgd_get_midgard();
> echo "User = " . $env->user;
> 
> Note that if output is allready sent out, you'll have to do
> mgd_auth_midgard("", "", 0); instead; setting the last parameter to
> non-0 (or omitting it) will try to send out a cookie, and that will
> fail if ouput has allready been sent to the browser.

It can not work casue there is not proper auth set first time.
I used Your code for proper auth and all I get is :
user = 10. That's id?

Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to