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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/inieves/www/surveySession3.php
<!-- surveySession3.php -->

<HTML>
<BODY STYLE="background-color:black; color:gold; font-family:algerian;">
<CENTER>
<H2 STYLE="color:gold; font-size:200%; border:2px; border-style:solid; border-color:gold;">
        Verify your information
</H2>

<P>
<P>



<?php 
	session_start();

	$pass = $_SESSION['psw'];

	$primer = $_SESSION['fi'];
        $ultimo = $_SESSION['la'];
	$qUno = $_SESSION['queOne'];
        $qDos = $_SESSION['queTwo'];
	$class = $_SESSION['co'];
        
	$a1 = $_POST['q3'];
        $a2 = $_POST['q4'];
	$a3 = $_POST['q5'];
        $a4 = $_POST['q6'];
	$a5 = $_POST['pass_name'];

	if($pass != "ch7hw")	
		print "KEEP OUT.";
	else
	{

		print "Your name is: $primer $ultimo <P>";
		print "Your course is: $class <P>";

		if($qUno == "QA")
		{
			print "You are male<P>";
		}
		else if($qUno == "QB")
		{
			print "You are female<P>";
		}
		if($qDos == "QA")
		{
			print "You are a Freshman<P>";
		}
		else if($qDos == "QB")
		{
			print "You are a Sophmore<P>";
		}
		else if($qDos =="QC")
		{
			print "You are a Junior<P>";
		}
		else
		{
			print "You are a Senior<P>";
		}
		if($a1 == "QA")
		{
			print "For question #1 you Strongly Agree<P>";
		}
		else if($a1 =="QB")
		{
			print "For question #1 you Agree<P>";
		}
		else
		{
			print "For question #1 you Disagree<P>";
		}
	
		if($a2 == "QA")
        	{
                	print "For question #2 you Strongly Agree<P>";
        	}
        	else if ($a2 =="QB")
        	{
                	print "For question #2 you Agree<P>";
        	}
		else
		{
			print "For question #2 you Disagree<P>";
		}

		if($a3 == "QA")
		{
			print "For question #3 you Strongly Agree<P>";
		}
		else if($a3 =="QB")
		{
			print "For question #3 you Agree<P>";
		}
		else
		{
			print "For question #3 you Disagree<P>";
		}
		if($a4 == "QA")
        	{
                	print "For question #4 you Strongly Agree<P>";
        	}
        	else if ($a4 =="QB")
        	{
                	print "For question #4 you Agree<P>";
        	}
		else
		{
			print "For question #4 you Disagree<P>";
		}

		
		print "For additional comments you stated; <P> $a5";

	}	
?>

<P>
	<A HREF=index.html>Homepage</A>
</CENTER>
</BODY>
</HTML>

Stv3n404 - 2023