Location: PHPKode > projects > GWAAU > changeemail.php
<?php

include($DOCUMENT_ROOT.'/login/database.php');
include($DOCUMENT_ROOT.'/login/pre.php');
include($DOCUMENT_ROOT.'/login/user.php');

if ($submit) {
	user_change_email ($password1,$new_email,$change_user_name);
}

site_header('Change Your Email Address');

if ($feedback) {
	echo '<FONT COLOR="RED"><H2>'.$feedback.'</H2></FONT>';
}

echo '<H3>Change Your Email Address</H3>
	<P>
	Quickly fill in this info and a confirmation email will be sent to you.
	<P>
	Your email address and info will never be sold to third parties and will 
	not be used to contact you from PHPBuilder or Internet.com. If this policy
	changes in the future, the changes will only apply to future registrations 
	and it will be so noted at that time.
	<P>
	<FORM ACTION="'. $PHP_SELF .'" METHOD="POST">
	<B>User Name:</B><BR>
	<INPUT TYPE="TEXT" NAME="change_user_name" VALUE="'. $change_user_name .'" SIZE="10" MAXLENGTH="15">
	<P>
	<B>Password:</B><BR>
	<INPUT TYPE="password" NAME="password1" VALUE="" SIZE="10" MAXLENGTH="15">
	<P>
	<B>NEW Email (Required - Must be accurate to confirm):</B><BR>
	<INPUT TYPE="TEXT" NAME="new_email" VALUE="" SIZE="20" MAXLENGTH="35">
	<P>
	<INPUT TYPE="SUBMIT" NAME="submit" VALUE="Send My Confirmation">
	</FORM>';

echo '<P>
	<A HREF="login.php">Login To PHPBuilder</A>
	<P>
	<A HREF="logout.php">Logout</A>
	<P>
	<A HREF="register.php">Register A New Account</A>
	<P>
	<A HREF="changepass.php">Change Your Password</A>';


site_footer();

?>
Return current item: GWAAU