Server IP : 172.16.15.8 / Your IP : 18.118.0.48 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/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); $name = $_SESSION['name']; $gender = $_SESSION['gender']; $grade = $_SESSION['grade']; $course = $_SESSION['course']; $pass = $_SESSION['password']; $_SESSION['password'] = $pass; if($pass !="hw3b") print "Go Away.<BR>"; else { ?> <TITLE>Web Survey Results</TITLE> <CENTER> <H2>Web Survey Questionnaire Results</H2> <HR> <?php $q1 = $_POST['question']; $q2 = $_POST['question1']; $q3 = $_POST['question2']; $q4 = $_POST['question3']; $tbox = $_POST['tbox']; print "Your information:<BR>"; print "Name: <B>$name</B><BR>"; print "Gender: <B>$gender</B><BR>"; print "Grade: <B>$grade</B><BR>"; print "Course: <B>$course</B><BR><BR>"; print "Answer to question 1: $q1 <br>"; print "Answer to question 2: $q2 <br>"; print "Answer to question 3: $q3 <br>"; print "Answer to question 4: $q4 <br>"; print "<BR>Your additional comments entered were: "; for($i=0; $i<count($tbox); $i++) print "<B>$tbox[$i]</B>"; print"<HR>"; } ?> <A HREF=index.html>Back Home</A> </CENTER> </FONT> </BODY>