Please login

Copyright © Lodi Amateur Radio Club. All rights reserved.
Database development by CID Solutions



"; if (isset($_GET['mode'])) { $mode = $_GET['mode']; $mode = (int)chop($mode); }else if (isset($_POST['mode'])) { $mode = $_POST['mode']; $mode = (int)chop($mode); } if ($mode == 0) { ?>
Enter your Login ID and Password into the fields below. Then click "Login".
Call Sign
Password
Forgot Your Password?


Or Register Here
First Name
Last Name
Call Sign
Email
Phone
Are you a club member in good standing?
Password (6-20 characters)
Confirm
Bad Call Sign!
Click Back Button and correct!"; echo "$endhtml"; exit(); } $email = mysql_real_escape_string($_POST['your_email']); $phone = mysql_real_escape_string($_POST['your_phone']); $member = mysql_real_escape_string($_POST['member']); $password = mysql_real_escape_string($_POST['password']); $password2 = mysql_real_escape_string($_POST['password2']); if (!$fname || !$lname || !$callsign || !$email || !$phone) { echo "All fields required!

Please hit BACK button and fill in all fields"; echo "
$fname , $lname , $callsign , $email , $phone"; echo "$endhtml"; exit(); } # if ($member != "yes") { # echo "Only members in Good Standing can register!"; # echo "$endhtml"; # exit(); # } $count = strlen($password); # $count = (int)chop($count); # echo "
$count
"; if ($count < 6 || $password != $password2) { echo "Password either does not match OR is under 6 characters!"; echo "$endhtml"; exit(); } if (!mysql_select_db("lodiarc",$dblink)) { $error = mysql_error($dblink); echo("$error\n"); exit(2); } # `memid` int(4) NOT NULL AUTO_INCREMENT, # `callsign` char(6) NOT NULL, # `class` char(1) NOT NULL, # `fname` char(20) NOT NULL, # `lname` char(20) NOT NULL, # `address` char(25) NOT NULL, # `city` char(20) NOT NULL, # `state` char(2) NOT NULL, # `zip` int(5) NOT NULL, # `email` char(40) NOT NULL, # `hmphn` char(12) NOT NULL, # `cellph` char(12) NOT NULL, # `jdate` char(10) NOT NULL, # `duespd` char(10) NOT NULL, # `arrlid` char(15) NOT NULL, # `notes` char(255) NOT NULL, $query = "select * from members where callsign='$callsign'"; $results = mysql_query($query,$dblink); $norows = mysql_num_rows($results); if ($norows != 0) { echo "Call Sign already in system!  Retrieve Lost Password if you forgot it!

"; echo "$endhtml"; exit(); } $query = "insert into members (callsign,fname,lname,email,hmphn,pword,stat) values ('$callsign','$fname','$lname','$email','$hmphn','$password','r')"; $result = mysql_query($query,$dblink); echo "You have succesfully added your information!
You should receive an email when your registration is completed!"; #send an email! $message = "Name: $fname $lname \n Call Sign: $callsign \n Email: $email \n Phone: $phone "; # mail("frank@cidevents.com","Registration for Lodi ARC",$message,"From: info@lodiarc.org"); # flush(); mail("n6gkj.cm98@yahoo.com","Registration for Lodi ARC",$message,"From: info@lodiarc.org"); flush(); ?>

<< Back To Login

Enter the email address for your account and we will email you your Login ID and a temporary password.
Account Email
<< Back To Login
Check your email for password request.
<< Back To Login

Copyright © Lodi Amateur Radio Club. All rights reserved.
Database development by CID Solutions