[Phpwm] .htaccess auth question

pete graham petegraham1 at gmail.com
Mon Aug 6 14:52:38 BST 2007


I have found that if you redirect to
http://username:password@siteaddress.com that this will login you in
automatically for a .htaccess protected site.

What I need now if a way to retrieve the users password from my
controller action in the Zend Framework. You can retrieve the
username, real name, etc using $this->view->user->db_field_name,
however this doesn't work for the password (for security reasons I
guess).

What is the proper technique I need to use to retrieve the password? A
dirty hack would be appreciated if no-one knows the "correct" way to
do this.

Pete



More information about the Phpwm mailing list