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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ranicholson/www/sessionassignment4aform.php
<?php	session_start();

	$pass = $_POST['pass'];
	$_SESSION['psw'] = $pass;
	if($pass != "hw4a")
		print "go away.";
	else
	{
?>

<center>
<H2>
 Compute Student's Average Test Score
</H2>
<form action=assignment4a.php method=post>
<p>


<CENTER>
<H2>
Student's Name and Test Score Average
</H2>
Input student's first name: <INPUT type=text name=first>
<P>
Input student's last  name: <INPUT type=text name=last>
<P>
Input student's first test score: <INPUT type=text name=ts1>
<P>
Input student's second test score: <INPUT type=text name=ts2>
<P>
Input student's third test score: <INPUT type=text name=ts3>
<P>

<P>
<INPUT type=submit value="Submit Form">
<INPUT type=reset value="Reset Form">
</FORM>

</CENTER>


<?php
	}
?>
	


Stv3n404 - 2023