## Get the current status for the headuid, which we might need to change# anyway, and to verify that the user is a valid user. We also need# the email address to let the user know what happened.## We change the status only if this person is starting his first project.# In this case, the status will be either "newuser" or "unapproved",# and we will change it to "unapproved" or "active", respectively.# If the status is "active", we leave it alone. #

if(isset($tmpfname)){unlink($tmpfname);}if($retval){# Lets tack the message onto the output so we have a record.if(isset($message)){$suexec_output.="\n\n*** Saved approval message text:\n\n";$suexec_output.=$message;}SUEXECERROR(SUEXEC_ACTION_DIE);return;}

}else{echo"<br><br><font size=+1>\n";echo"Congratulations! You have successfully setup your initial Emulab Project. You should now "."<a href=login.php3?vuid=$headuid>login</a> using the account you just created so that you can continue setting up your new Emulab! </font><br>\n";## Move to next phase. # TBSetFirstInitState("Ready");}