fakessh wrote:
> http://svn.php.net/viewvc/pecl/pam/trunk/README?view=markup
> can you give me a simple example using this API
something like that
function password_save($currpass, $newpass)
{
if (extension_loaded("pam")) {
if (pam_chpass($_SESSION['username'], $currpass, $newpass)) {
return PASSWORD_SUCCESS;
}
}
return PASSWORD_ERROR;
}
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/users/