prepare($query1); $stm1->execute(); $nrows1 = $stm->rowCount(); $query2="select count(*) as 'pP' from users where passkey='".$passkey."'"; $stm2 = $DBH->prepare($query2); $stm2->execute(); $nrows2 = $stm2->rowCount(); if ($nrows1 > 0)$messe= '

That login is taken, please select another login.

'; if ($nrows2 > 0)$messp= '

That password is taken, please select another password.

'; if ($nrows1 >0 || $nrows2>0)$unique=false; if($unique) { $myverificationcode=getName(200); $query = "INSERT into users (verifyCode,persona,passkey,lastvisit) VALUES ('".$myverificationcode."','$person','$passkey',NOW())" or die(mysql_error()); $stm = $DBH->prepare($query); $stm->execute(); $emailBegin=' Nexus News - The Weather you want.
View Online
'; //

'.date("l F j, Y g:i a").'

$emailEnd='

'; $emailNews=$emailBegin.'

An account was created with your email address at NexusNews.us. To complete the account setup process click on this link within the next 24 hours. If you did not create this account let us know and disregard this email.

'.$emailEnd; mail("",$hourday.date("l")." Weather and Forecast ",$emailNews, $headersN); $months = array('January','February','March','April','May','June','July ','August','September','October','November','December',); $headers = "Content-Type: text/html\n"; $headers .= "Content-Transfer-Encoding: 7bit;\n "; $headers .= "charset=iso-8859-1\n"; $headers .= "From: Nexus Account Verification\n"; mail($person,'NexusNews Account Verification',$emailNews, $headers); header("Location: ../accounts/verify/emailSent.php"); } else { // Entered For but there are problems //onSubmit="return Check(this)" if($messe==""){$personaValue='value="'.$person.'"';}else{$personaValue='value="email" onfocus="this.value=\'\'"';} $form='




'; $content= '

Create account

See the news you want with none of the hype.

'.$messe.$messp.$form; } //end of submitted stuff } // Below is for initial load of this form ?> New Account - Nexus News

Create account

See the news you want, and none of the hype.





The News You Want
The news you want
Nexus Inc.
1016 Heth Street
Fort Atkinson, Wisconsin 53538
© 1995 - 2024 All rights reserved