Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.141.2.191
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/lgbales/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/lgbales/public_html/survey.php
<?php	session_start();	?>

<!-- Lyle Bales Assignment 3 -->

<?php
	$flname = $_POST['flname'];
	$gender = $_POST['gender'];
	$grade = $_POST['grade'];
	$course = $_POST['course'];
	$_SESSION['flname'] = $flname;
	$_SESSION['gender'] = $gender;
	$_SESSION['grade'] = $grade;
	$_SESSION['course'] = $course;

	$pass = $_SESSION['psw'];
	$_SESSION['psw'] = $pass;
	if($pass != "ch7hw")
		print "Wrong Password! Enter correct Password!";
	else
	{
?>	
<center>
<H2>
Survey
</H2>
<HR>
<FORM action=results.php method=post>
1. This class was very helpful to me.
<P>
Strongly Agree <input type=radio name=q1 value=Strongly>
Agree <input type=radio name=q1 value=Agree>
Do Not Agree <input type=radio name=q1 value=Not>
<P>
Remarks: <input type=textarea name=q1remark>
<P>
2. The teacher was helpful.
<P>
Strongly Agree <input type=radio name=q2 value=Strongly>
Agree <input type=radio name=q2 value=Agree>
Do Not Agree <input type=radio name=q2 value=Not>
<P> 
Remarks: <input type=textarea name=q2remark>
<P> 
3. The length of the assignments were equal to the amount learned in 
class.
<P>
Strongly Agree <input type=radio name=q3 value=Strongly>
Agree <input type=radio name=q3 value=Agree>
Do Not Agree <input type=radio name=q3 value=Not>
<P>
Remarks: <input type=textarea name=q3remark>
<P>
4. The teacher was informed about the subject.
<P>
Strongly Agree <input type=radio name=q4 value=Strongly>
Agree <input type=radio name=q4 value=Agree>
Do Not Agree <input type=radio name=q4 value=Not>
<P>
Remarks: <input type=textarea name=q4remark>
<P>

<input type=submit value=Submit>
<input type=reset value=Reset>
</FORM>
</CENTER>

<?php
	}
?>



Stv3n404 - 2023