Server IP : 172.16.15.8 / Your IP : 3.15.214.185 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/deweirich/../tmhoward/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- File name: sessionAssignment2Form.php --> <?php session_start(); $pass = $_POST['pass']; $_SESSION['psw'] = $pass; if($pass != "hw21") print "go away."; else { ?> <CENTER> <H2> Web Exam Form </H2> <HR> <FORM action=sessionAssignment2.php method=post> 1. What letter comes after B? <INPUT type=radio name=q1 value=a checked> A. <INPUT type=radio name=q1 value=b> B. <INPUT type=radio name=q1 value=c> C. <INPUT type=radio name=q1 value=d> D. <P> 2. What color is the sky? <INPUT type=radio name=q2 value=a checked> A. Purple <INPUT type=radio name=q2 value=b> B. Blue <INPUT type=radio name=q2 value=c> C. Yellow <INPUT type=radio name=q2 value=d> D. Green <P> 3. What does VWU stand for? <INPUT type=radio name=q3 value=a checked> A. Old Dominion University <INPUT type=radio name=q3 value=b> B. Virginia State Univeristy <INPUT type=radio name=q3 value=c> C. Virginia Wesleyan University <INPUT type=radio name=q3 value=d> D. Regent University <P> 4. What class is this assignment for? <INPUT type=radio name=q4 value=a checked> A. CS 112 <INPUT type=radio name=q4 value=b> B. CS 212 <INPUT type=radio name=q4 value=c> C. CS 489 <INPUT type=radio name=q4 value=d> D. CS 480 <P> <INPUT type=submit value="Submit Form"> <INPUT type=reset value="Reset Form"> </FORM> </CENTER> <?php } ?>