Main Page | Directories | File List | File Members

lostpw-confirm.php File Reference

Go to the source code of this file.

Variables

 $form_loginname = addslashes($form_loginname)
 $row_pw = db_fetch_array()
print< p > This account uses
an AFS password< strong
> You cannot change your AFS
password via Savannah</strong
> Contact the AFS 
managers
 exit
 $confirm_hash = md5($session_hash . strval(time()) . strval(rand()))
 $res_user = db_query("SELECT * FROM user WHERE user_name='$form_loginname' AND status='A'")
 $row_user = db_fetch_array($res_user)
 $notifications_max = 1
 $res_emails = db_query("SELECT count FROM user_lostpw WHERE user_id='".$row_user['user_id']."' and DAYOFYEAR(date) = DAYOFYEAR(CURRENT_DATE) AND HOUR(DATE) = HOUR(NOW())")
 $email_notifications = strval($row_emails[0])
 $message = sprintf(_("Someone (presumably you) on the %s site requested a password change through email verification."),$GLOBALS['sys_default_domain'])
 $message_for_admin


Variable Documentation

$confirm_hash = md5($session_hash . strval(time()) . strval(rand()))
 

Definition at line 46 of file lostpw-confirm.php.

Referenced by register_valid().

$email_notifications = strval($row_emails[0])
 

Definition at line 74 of file lostpw-confirm.php.

$form_loginname = addslashes($form_loginname)
 

Definition at line 29 of file lostpw-confirm.php.

$message = sprintf(_("Someone (presumably you) on the %s site requested a password change through email verification."),$GLOBALS['sys_default_domain'])
 

Definition at line 107 of file lostpw-confirm.php.

Referenced by gnuevalconfirm_email(), register_valid(), send_new_project_email(), send_pending_user_email(), and sendmail_mail().

$message_for_admin
 

Initial value:

"Someone attempted to change a password via email verification\n"
. "on ".$GLOBALS['sys_default_domain']."\n\n"
. "Someone is maybe trying to steal a user account.\n\n"
. "The user affected is ".$form_loginname."\n\n"
. "The request comes from ".gethostbyaddr($GLOBALS['REMOTE_ADDR'])." "
. "(IP: ".$GLOBALS['REMOTE_ADDR']." port: ".$GLOBALS['REMOTE_PORT'].") "
. "with ".$GLOBALS['HTTP_USER_AGENT']."\n\n"
. "Date:"
. gmdate('D, d M Y H:i:s \G\M\T')
     . "\n"

Definition at line 121 of file lostpw-confirm.php.

$notifications_max = 1
 

Definition at line 62 of file lostpw-confirm.php.

$res_emails = db_query("SELECT count FROM user_lostpw WHERE user_id='".$row_user['user_id']."' and DAYOFYEAR(date) = DAYOFYEAR(CURRENT_DATE) AND HOUR(DATE) = HOUR(NOW())")
 

Definition at line 65 of file lostpw-confirm.php.

$res_user = db_query("SELECT * FROM user WHERE user_name='$form_loginname' AND status='A'")
 

Definition at line 50 of file lostpw-confirm.php.

$row_pw = db_fetch_array()
 

Definition at line 35 of file lostpw-confirm.php.

$row_user = db_fetch_array($res_user)
 

Definition at line 55 of file lostpw-confirm.php.

exit
 

Definition at line 41 of file lostpw-confirm.php.

print<p> This account uses an AFS password<strong> You cannot change your AFS password via Savannah</strong> Contact the AFS managers
 

Definition at line 39 of file lostpw-confirm.php.


Generated on Sun Feb 26 13:23:05 2006 for Savane PHP Frontend Developer Reference by  doxygen 1.4.4