Procedural File: get-email-pass.php

Source Location: /bblog/inc/get-email-pass.php ( Revision Log )

Page Details

get-email-pass.php - checks password and sends email.

Checks the secret answer, if all's good, sends email.

License:  GNU General Public License
Copyright:  The bBlog Project, http://www.bblog.com/
Version:  $Id: $
Author:  xushi - <xushi.xushi@gmail.com> - last modified by $LastChangedBy: $
Includes
include ('../config.php') [line 19]
[ Top ]

require ("bBlogMailer.class.php") [line 15]
[ Top ]

require ("passwordReset.class.php") [line 16]
[ Top ]


Functions
getPass  [line 40]

void getPass( void 0  )

function to reset password

compares the secret answer to the one in the db. If the same, then it calls the mail and passwd classes and sends an email to the user with the new password.

Parameters:
void   0: 

Information Tags:
Todo:  for security reasons, use global or instantiate within function?
Todo:  create dump or expand error message for failed mail send
Todo:  add the link to the users blog in the email message

[ Top ]