ent id or course id can contam only numbers -login in can contain only alphabet A client-server application for students registration system A) Client side: (HTML, CSS) Write the code for the register.html. The student or the registrar use the client register.html. The student uses enters his login and password in register.html to choose the courses for the next semester. If the course is opened then the students can add it. The students can register up to 18 credit hours. The registrar (login - root, and password - 123) uses register.html to add student, add course, remove a student, and remove a course. See the following run: Server Side: Write the code of the server side register.php page such that. 1) The register.php checks using the regular expressions in PHP valid login must be exactly 7 characters and starts with a letter and the characters S, 0-9, A-Z, z For instance, al2341, ab SSI, an while _al, b9993333, and e23_@2 are invalid logins. But, there password; the user can use any character in the keyboard. if either you must present an alert message and do not send the data to the hoose one of the following: Student 2) The register.php page reads the login and passwords of student "registration" to verify whether the student is a valid user. The reg register.php document. The "registration" database contains 3 "student" and "courses". The "loginPassword" table has 5 fields: "address", "login", password", and "specialization". Student tal course. Student table saves the list of courses for a particular stu fields: course name, course ID, and the capacity. Registrar 1. Ir the users chooses student as him to enter kogin and passwond. Ifit is correct give him the folowing menu: add course remove a course if the student chooses "add course" and asks him to select the opened courses and he can just seleet any of the opened courses up to a maximum of 18 credits courses. register.php processes the client request by adding a course, remo- student, removing a student, student logging in , egistrar loggingi 2. If the users chooses Registrar, ask him to enter his log in and password (login = root, and password = 123). Ifit is correct give him the following menu: add student add a course remove a student

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
-student name can contain only alphabet and spaces
-student id or course id can contain only numbers
-login in can contain only alphabet
Form 2
A client-server application for students registration system
A) Client side: (HTML, CSS) Write the code for the register.html . The student or the
registrar use the client register.html. The student uses enters his login and password in
register.html to choose the courses for the next semester. If the course is opened then
the students can add it. The students can register up to 18 credit hours. The registrar
(login = root, and password = 123) uses register.html to add student, add course,
remove a student, and remove a course. See the following run:
Server Side:
Write the code of the server side register.php page such that.
1) The register.php checks using the regular expressions in PHP if the login is valid or not. A
valid login must be exactly 7 characters and starts with a letter and followed by any one or more of
the characters, S, 0-9, A-Z, a-z For instance, al2341, ab_SSI, and abc0z_are valid logins
while _al, b9993333*, and c23_@2 are invalid logins. But, there are no restrictions on the
password; the user can use any character in the keyboard. if either of the two fields is invalid
you must present an alert message and do not send the data to the server side.
Choose one of the following:
Student
Registrar
2) The register.php page reads the login and passwords of student froma database named
"registration" to verify whether the student is a valid user. The registrar password is saved in the
register.php document. The "registration" database contains 3 tables named "loginPassword",
"student" and "courses". The "login Password" table has 5 fields: "student_Id", "name",
"address", "login", "password", and "specialization". Student table has 2 fields: student Id, and
course. Student table saves the list of courses for a particular student. courses table has three
fields: course name, course ID, and the capacity.
1. If the users chooses student as him to enter login and password. If it is correct give
him the following menu:
add course
-remove a course
if the student chooses "add course" and asks him to select the opened courses and
he can just select any of the opened courses up to a maximum of 18 credits courses.
register.php processes the client request by adding a course, removing a course, adding a
student, removing a student, student logging in , registrar logging in etc.
2. If the users chooses Registrar, ask him to enter his log in and password (login = root,
and password = 123). Ifit is correct give him the following menu:
- add student
- add a course
remove a student
and remove a course
*if the registrar chooses "add student", give him a form to add: the name, id, address,
specialization of the student so that the server side register php will add it to the
database
* if the registrar chooses " remove a student", ask him to enter the student ID so
that the server side register.php will remove him/her.
* if the registrar chooses "add a course", give him a fom to add: the name of the
course, id of the course, capacity (how many students are allowed to register in this
*
course).
* if the registrar chooses " remove a course", ask him to enter the course ID so
that the server side register.php will remove it from the database.
.
Us e the Javascript to make sure that:
Transcribed Image Text:-student name can contain only alphabet and spaces -student id or course id can contain only numbers -login in can contain only alphabet Form 2 A client-server application for students registration system A) Client side: (HTML, CSS) Write the code for the register.html . The student or the registrar use the client register.html. The student uses enters his login and password in register.html to choose the courses for the next semester. If the course is opened then the students can add it. The students can register up to 18 credit hours. The registrar (login = root, and password = 123) uses register.html to add student, add course, remove a student, and remove a course. See the following run: Server Side: Write the code of the server side register.php page such that. 1) The register.php checks using the regular expressions in PHP if the login is valid or not. A valid login must be exactly 7 characters and starts with a letter and followed by any one or more of the characters, S, 0-9, A-Z, a-z For instance, al2341, ab_SSI, and abc0z_are valid logins while _al, b9993333*, and c23_@2 are invalid logins. But, there are no restrictions on the password; the user can use any character in the keyboard. if either of the two fields is invalid you must present an alert message and do not send the data to the server side. Choose one of the following: Student Registrar 2) The register.php page reads the login and passwords of student froma database named "registration" to verify whether the student is a valid user. The registrar password is saved in the register.php document. The "registration" database contains 3 tables named "loginPassword", "student" and "courses". The "login Password" table has 5 fields: "student_Id", "name", "address", "login", "password", and "specialization". Student table has 2 fields: student Id, and course. Student table saves the list of courses for a particular student. courses table has three fields: course name, course ID, and the capacity. 1. If the users chooses student as him to enter login and password. If it is correct give him the following menu: add course -remove a course if the student chooses "add course" and asks him to select the opened courses and he can just select any of the opened courses up to a maximum of 18 credits courses. register.php processes the client request by adding a course, removing a course, adding a student, removing a student, student logging in , registrar logging in etc. 2. If the users chooses Registrar, ask him to enter his log in and password (login = root, and password = 123). Ifit is correct give him the following menu: - add student - add a course remove a student and remove a course *if the registrar chooses "add student", give him a form to add: the name, id, address, specialization of the student so that the server side register php will add it to the database * if the registrar chooses " remove a student", ask him to enter the student ID so that the server side register.php will remove him/her. * if the registrar chooses "add a course", give him a fom to add: the name of the course, id of the course, capacity (how many students are allowed to register in this * course). * if the registrar chooses " remove a course", ask him to enter the course ID so that the server side register.php will remove it from the database. . Us e the Javascript to make sure that:
Expert Solution
steps

Step by step

Solved in 5 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY