> how secure is this when i store a admin password in the code?
> 
> how can i access the users password to relogin?

that must be included snippet for security reason
http://www.midgard-project.org/manual/en/ref-other.php

        <? 
        mgd_auth_midgard("name", "pass",0);
        $newadmin = mgd_get_midgard();
        // do what you want to do
        unset($newadmin);
        // try also mgd_unsetuid()
        ?>


Piotras                 

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

Reply via email to