Server IP : 172.16.15.8 / Your IP : 3.14.134.18 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/vgmiller/hello/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Author: Valerie Miller Instructor: Dr. Wang File Name: studentRegistration2.php Due Date: March 13, 2018 Goal: To create a student registration site. --> <?php $session_start(); $n = $_POST['name']; $g = $_POST['gender']; $y = $_POST['year']; $_SESSION['name'] = $n; $_SESSION['gender'] = $g; $_SESSION['year'] = $y; ?> <form action=studentRegistration3.php method=post> <?php $CS = array("CS112", "CS212", "CS310", "CS 311", "CS380", "CS440", "CS480"); $math = array("Math1", "Math2"); print "$CS[1]"; ?> <P> <INPUT type=submit value=Submit> <INPUT type=reset value=Reset> </form> </CENTER