DuPage County Community Service Placement

Thank you for signing up with Community Service 101.com

Your Login Details:
Password:$password "; //Message Headers and Subject $subject = "Re: Community Service 101 Registration Information"; $headers="From: CommunityService101 \r\n" ."Reply-To: no-reply@CommunityService101.com\r\n" ."Content-Type: text/html\r\n"; //Send Email mail($email,$subject,$message,$headers); } if (isset($_POST['submit'])) { if (!($_POST['firstname']) or !($_POST['lastname']) or !($_POST['username']) or !($_POST['email']) or !($_POST['phonenumber']) or !($_POST['password']) or !($_POST['county']) or !($_POST['hours'])) { header("Location: register.php?status=1"); exit; } else { $firstname=htmlspecialchars($_POST['firstname']); $lastname=htmlspecialchars($_POST['lastname']); $username=htmlspecialchars($_POST['username']); $email=htmlspecialchars($_POST['email']); $phonenumber=htmlspecialchars($_POST['phonenumber']); $password=htmlspecialchars($_POST['password']); $county=htmlspecialchars($_POST['county']); $hours=htmlspecialchars($_POST['hours']); } //Checks if the username is in use $check_username = mysql_query("SELECT `ID` FROM `users` WHERE `username`='".$username."'") or die(mysql_error()); $total_results = mysql_num_rows($check_username); //Check to see if the email is valid $inwhere=$email; $pattern = "/(@)/"; if (!(preg_match_all($pattern,$inwhere,$dat)==1)) { header("Location: register.php?status=2"); exit; } //If the name is already taken it lets them know if ($total_results != 0) { header("Location: register.php?status=3&username=".$username.""); exit; } //Insert user data into the database $insert = "INSERT INTO users (`username`,`password`,`email`,`firstname`,`lastname`,`phone`,`county`,`hours`) VALUES ('".$username."','".$password."','".$email."','".$firstname."','".$lastname."','".$phonenumber."','".$county."','".$hours."')"; $add_member = mysql_query($insert); //Email username and password send_email($email,$username,$password); //Set session data $session_data = array($username,$password); $session_data = serialize($session_data); $_SESSION['memberid'] = $session_data; //Redirect to the members page header("Location: members.php"); exit; } ?>

Instructions for entering defendants into the online Community Service Database
Enter all information for defendant below.
After entering all information continue to WorkSite Selection.

Personal information

Note * All Volunteers entered on this page will be in DuPage County

Site Information


If you do not have an email address, you will need to sign up for one before you can register for Community Service. You will need this address to send and receive all your Community Service assignments. Click here to set up your free email account with G-mail. Be sure to write down your account name and password and check your email for new assignments daily.

CLICK HERE to check in Daily. You should check in every day until you have completed all your hours.

After you Register above, you will receive an email within 24 hours with your new timesheet and instructions. Follow these instructions and your assignments will start coming as fast as you can complete them.
If you do not receive an email within 24 hours, you have done something wrong. You must go back to top of this page and start over. Check each step carefully and make sure you understand before proceeding to the next step.

Temporary Links

G-Mail Instructions ....... Community Service worker Page 1 ....... WorkSite Manager Page 1 ....... Court Employee Page 1

Copyright 2015 CommunityService101.com   All Rights Reserved ....