Server IP : 172.16.15.8 / Your IP : 18.188.223.120 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/wcdavis/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); ?> <HTML> <!-- Login test page --> <BODY> <FONT size=4 color=blue> <HR> <?php $pass = $_POST['pass']; $_SESSION['pass'] = $pass; // print "Your password input = $pass"; if($pass != "hw3b") Print "Go Away."; else { ?> <CENTER> <H2> Greeting page for Assignment3!</H2> <HR> </CENTER> <Form action=hw3b3.php method=post> What is your name?<p> <INPUT type=text name=name> <P> Male or Female?<P> <INPUT type=radio name=gender value=male> Male<p> <INPUT type=radio name=gender value=female> Female<P> Grade?<p> <INPUT type=radio name=grade value=freshman> Freshman<p> <INPUT type=radio name=grade value=sophomore> Sophomore<p> <INPUT type=radio name=grade value=junior> Junior<p> <INPUT type=radio name=grade value=senior> Senior<P> What course are you in?<p> <INPUT type=text name=course><P> <INPUT type=submit name=Submit> <INPUT type=reset name=Reset> </CENTER> <?php } ?> <P> <A HREF= "index.html">Back home</A> </BODY> </HTML>