Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.14.249.104
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/../../home/mdwiberg/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/../../home/mdwiberg/public_html/securesurvey.php
<?php   session_start(); ?>

<center>
<font color=maroon size=4>
<?php
        $name = $_SESSION['name2'];
        $course = $_SESSION['course2'];
	$ge = $_SESSION['ge'];
	$gd = $_SESSION['gd'];
        $ag = $_POST['ag'];
        $ag2 = $_POST['ag2'];
	$ag3 = $_POST['ag3'];
        $ag4 = $_POST['ag4'];
	$txt = $_POST['txt'];
		
	print "The student's name is $name, and their course is $course.<P>";

	if($ge == "ma")
        {
                print "The student is a male.<P>";
        }
        else if($ge == "fe")
        {
                print "The student is a female.<P>";
        }

	if($gd == "fr")
        {
                print "The student is a freshman.<P>";
        }
        else if($gd == "so")
        {
                print "The student is a sophmore.<P>";
        }

	if($gd == "jr")
        {
                print "The student is a junior.<P>";
        }
        else if($gd == "sr")
        {
                print "The student is a senior.<P>";
        }

	if($ag == "sa")
        {
                print "They strongly agree that the course has prepared them for the future.<P>";
        }
        else if($ag == "a")
        {
                print "They agree that the course has prepared them for the future.<P>";
        }
	if($ag == "da")
        {
                print "They disagree that the course has prepared them for the future.<P>";
        }
        else if($ag2 == "sa1")
        {
                print "They strongly agree that the course has been enjoyable.<P>";
        }
	if($ag2 == "a1")
        {
                print "They agree that the course has been enjoyable.<P>";
        }
        else if($ag2 == "da1")
        {
                print "They disagree that the course has been enjoyable.<P>";
        }
	if($ag3 == "sa2")
        {
                print "They strongly agree that they have had enough time for homework.<P>";
        }
        else if($ag3 == "a2")
        {
                print "They agree that they have had enough time for homework.<P>";
        }
	if($ag3 == "da2")
        {
                print "They disagree that they have had enough time for homework.<P>";
        }
        else if($ag4 == "sa3")
        {
                print "They strongly agree that the course work relates to the homework.<P>";
        }
	if($ag4 == "a3")
        {
                print "They agree that the course work relates to the homework.<P>";
        }
        else if($ag4 == "da3")
        {
                print "They agree that the course work relates to the homework.<P>";
        }
?>
</font>

<font color=black size=5>
<?php
	print "*Additional comments included:* <P>";
?>
</font>

<font color=navy size=4>
<?php
	print "$txt";
?>
</font>

<P>
<a href=index.html> Return to Home </a>
</center>

Stv3n404 - 2023