Location: PHPKode > projects > phpCAMALEO > LostPW.php
<?PHP
/***************************************************************************
 *	LostPW.php
 *
 *	begin		: June 2004
 *	version		: 27 July 2006
 *	copyright	: (C) 2004,2005 grandolini.net
 *
 *	New password request
 *
 ***************************************************************************/
$isForm=true;
include('Session.php');

if($_POST[submit]==B_OK)
{
	include($_SESSION[common].'includes/UserLost.inc');

	$user_ID=trim($_POST[User_ID]);
	$email	=$_POST[email];

	$feedback=req_password($user_ID, $email);
	if($feedback=='OKIDOKI')
	{
		include($_SESSION[common].'includes/PrepareHttp.php');
		header($http_header.'LoadPage.php?page=601');
		#-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
	}
	else { $feedback_str=$feedback; }
}
else { $feedback_str=''; }

$PageNr='lostpw';
$_SESSION[PageNr]=$PageNr;
$_SESSION[PageFile]=basename($_SERVER[PHP_SELF]);
$_SESSION[ReturnPage]=basename($_SERVER[PHP_SELF]);

$google='no';
include($_SESSION[skinf].'Layout.php');
?>
Return current item: phpCAMALEO