Server IP : 172.16.15.8 / Your IP : 3.144.122.20 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/vahigginbotham/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); /* Goal: If user can access page successfully, display greeting message and collect user's information. */ $pass = $_SESSION['password']; $_SESSION['password'] = $pass; if($pass != "hw3b") print "Go Away<BR>"; else { ?> <BODY> <TITLE>Welcome Page</TITLE> <H2>Welcome!</H2> <HR> <Form action=action3b2.php method=post> Name: <INPUT type=text name=name> <BR><BR> Gender: <INPUT type=radio name=gender value=male> Male <INPUT type=radio name=gender value=female> Female <BR><BR> Grade: <INPUT type=radio name=grade value=freshman> Freshman <INPUT type=radio name=grade value=sophomore> Sophomore <INPUT type=radio name=grade value=junior> Junior <INPUT type=radio name=grade value=senior> Senior <BR><BR> Course Number: <INPUT type=text name=course> <BR><BR> <INPUT type=submit value=Submit> <INPUT type=reset value=Reset> </Form> <?php } ?> <HR> <A HREF=index.html>Back Home</A> </BODY>