Universe Adventure YouTube Video Contest

Entry Form


Please enter your first name.

'; } if (empty ($_POST['last_name'])) { $problem = TRUE; print '

Please enter your last name.

'; } if (empty ($_POST['email'])) { $problem = TRUE; print '

Please enter your email address.

'; } if (empty ($_POST['grade'])) { $problem = TRUE; print '

Please enter your grade level.

'; } if (strval(intval($_POST['age'])) == "0") { $problem = TRUE; print '

Please enter a valid age.

'; } if (empty ($_POST['school'])) { $problem = TRUE; print '

Please enter your school or institution name.

'; } if (empty ($_POST['city'])) { $problem = TRUE; print '

Please enter your city.

'; } if (empty ($_POST['teacher'])) { $problem = TRUE; print '

Please enter the name of your supervising teacher.

'; } if (empty ($_POST['teacher_email'])) { $problem = TRUE; print '

Please enter the email address of your teacher.

'; } if (empty ($_POST['username'])) { $problem = TRUE; print '

Please enter your YouTube username.

'; } if (empty ($_POST['email'])) { $problem = TRUE; print '

Please enter your email address.

'; } if (empty ($_POST['title'])) { $problem = TRUE; print '

Please enter the title of your video.

'; } // HANDLE THE INPUT $first_name = check_input($_POST['first_name']); $first_name1 = check_input($_POST['first_name1']); $first_name2 = check_input($_POST['first_name2']); $first_name3 = check_input($_POST['first_name3']); $first_name4 = check_input($_POST['first_name4']); $first_name5 = check_input($_POST['first_name5']); $last_name = check_input($_POST['last_name']); $last_name2 = check_input($_POST['last_name2']); $last_name3 = check_input($_POST['last_name3']); $last_name4 = check_input($_POST['last_name4']); $last_name5 = check_input($_POST['last_name5']); $age = check_input($_POST['age']); $age2 = $_POST['age2']; $age3 = $_POST['age3']; $age4 = $_POST['age4']; $age5 = $_POST['age5']; $grade = check_input($_POST['grade']); $grade2 = check_input($_POST['grade2']); $grade3 = check_input($_POST['grade3']); $grade4 = check_input($_POST['grade4']); $grade5 = check_input($_POST['grade5']); $school = check_input($_POST['school']); $city = check_input($_POST['city']); $state = $_POST['state']; $teacher = check_input($_POST['teacher']); $teacher_email = check_input($_POST['teacher_email']); $username = check_input($_POST['username']); $email = check_input($_POST['email']); $title = check_input($_POST['title']); $concept = check_input($_POST['concept']); if (!$problem) { // Compose the email message. $recipient = "contest.universeadventure@gmail.com"; $subject = "Entry Form"; $content = $first_name . "; " . $last_name . "; " . $age . "; " . $grade . "; " . $first_name2 . "; " . $last_name2 . "; " . $age2 . "; " . $grade2 . "; " . $first_name3 . "; " . $last_name3 . "; " . $age3 . "; " . $grade3 . "; " . $first_name4 . "; " . $last_name4 . "; " . $age4 . "; " . $grade4 . "; " . $first_name5 . "; " . $last_name5 . "; " . $age5 . "; " . $grade5 . "; " . $school . "; " . $city . "; " . $state . "; " . $teacher . "; " . $teacher_email . "; " . $username . "; " . $email . "; " . $title . "; " . $subject ; $from = "From: $email"; mail($recipient, $subject, $content, $from); print '

Your entry form has been submitted! Please go to the YouTube group page to upload your video.

'; $done = TRUE; } else { // Forgot a field. print '

Please try again!

'; } }// End of handle form IF. function check_input($data) { $data = stripslashes($data); $data = htmlspecialchars($data); return $data; } if (!$done) { ?>

Instructions: Please complete this online entry form, and then go to the Universe Adventure YouTube group to upload your video. Vidoes submitted without an entry form will not be eligible. For complete entry guidelines, visit the contest home page.

Please enter the name, age, and grade level of each group member.

First Name:   Last Name:

Age:       Grade Level:


First Name:   Last Name:

Age:       Grade Level:


First Name:   Last Name:

Age:       Grade Level:


First Name:   Last Name:

Age:       Grade Level:


First Name:   Last Name:

Age:       Grade Level:


School:

City:   State:


We will contact your teacher via email to confirm your entry.

Supervising Teacher:       

Teacher's Email Address:


Enter the YouTube user name you will use to submit your video.

YouTube User Name:

Please provide us with an email address where we can contact you about your group's submission.

Group Email Address:  

Title of Video: 

Which scientific principle does your video explain?