Micro-Project Report ON ": "Student Information Management System
Micro-Project Report ON ": "Student Information Management System
Micro-Project Report ON ": "Student Information Management System
Micro-Project Report
ON
“Student Information
Management System”
By
1)Kadam Priti [2014660140]
2)Shaikh Suhana [2014660141]
3)Tarate Gayatri [2114660126]
4)Pacharne Gayatri [2114660128]
Guided By
Prof. Hole.P. P
1
Shree Samarth Academy’s
Shree Samarth Polytechnic
Department of Computer Engineering.
CERTIFICATE
This is to certify that the project work entitled
“Student Information
Management
System’’
Is
Submitted by
1)Kadam Priti [2014660140]
5)Shaikh Suhana [2014660141]
6)Tarate Gayatri [2114660126]
7)Pacharne Gayatri [2114660128]
in the partial fulfillment of Diploma in Computer Engineering has been
Satisfactory carried out under my guidance as per the requirement of Maharashtra
State Board of Technical Education, Mumbai during the academic year 2020-2021
Date:
Place:
“Student Information
Management System”
“Student Information
Management System”
Brief Description:
Without a Student information System, managing and maintaining the details of the
student is a tedious job for any organization. Student Information system will store all
the details of the students including their background information, educational
qualifications, personal details and all the information related to their resume . Login
module: Login module will help in authentication of user accounts .Users who have
valid login id and password can only login into their respective accounts.
Search module: Suppose there are hundreds of students and from this we have to search
a particular student and we know the name of the student .In manual system it is a
tedious task though we know the name of the student, but using this module we can
easily search the student by specifying the name of the student in the search criteria.
Thus this module will help the administrator in searching the student with various
criteria easily.
Registration Module and Account Management: This module will help the student get
registered from anywhere if internet is present .This module will really simplify the
task of on paper registration. Also after successful registration the user can update
information and change their password as and when required.
User Management: This module will help the administrator in enabling/disabling a user
account and updating user information as required.
Purpose of project is to maintain details of the students such as storing information
about:
OVERALL DESCRIPTION
Product Perspective :
The website Student Information System is aimed towards recording a considerable
number of student records and needs online assistance for managing records of
students. Website should be user-friendly, ‘quick to learn’ and reliable website for the
above purpose.
Student Information System is intended to be a stand-alone product and should not
depend on the availability of other website. The system will also have an administrator
who has full-fledged rights with regards to performing all actions related to control and
management of the website.
Student_information :
Source Code
Index.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<link rel="stylesheet" href="Style.css" type="text/css"/>
<title>Home Page</title>
</head>
<body>
<table width="100%" height="100%" >
<tr height="15%">
<td><?php include 'Header.php';?></td>
</tr>
<tr height="80%">
<td align="center" valign="baseline"><table width="70%">
<tr height="10%">
<td align="center"><a href="index.php" class="stylelink"
style="text- decoration:none">Home</a></td>
<td align="right"><a href="Student_login.php"
class="stylelink" style="text-decoration:none">Student
Login</a>
<a href="Admin_login.php" class="stylelink" style="text-
decoration:none">Administrator Login</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
<tr height="5%">
<td><?php include 'Footer.php';?></td>
</tr>
</table>
</body>
</html>
Student_login.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Login Page</title>
<link rel="stylesheet" href="Style.css" type="text/css"/>
<script type="text/javascript"> function validate()
{
if(document.form1.st_id.value=="")
{
alert("Please enter your login Id.");
document.form1.st_id.focus(); return false;
}
if(document.form1.st_pass.value=="")
{
alert("Please enter your password.");
document.form1.st_pass.focus(); return false;
}
}
</script>
</head>
<body onLoad="javascript:document.form1.st_id.focus()">
<form name="form1" method="post"
action="Student_login_handler.php" onSubmit="return
validate();">
<table width="100%" height="100%" >
<tr>
<td height="15%"><?php include 'Header.php';?></td>
</tr>
<tr>
<tr>
<td class="stylered" colspan="4" align="center">This
Login Id( <?=$_GET['student_id']?>) already exists.Please,
try again with another Login Id</td>
</tr>
<?php
}else if($_GET['flag'] == "error") {
<tr>
?>
</html>
Student_login_handler
<?php
{
$flag = "invalid"; header("location:Student_login.php?
flag=$flag"); die();
}
?>
Student_Registration.php
<html>
<head>
<link rel="stylesheet" href="Style.css" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Student Registration Page</title>
<script src="Validation.js"></script>
<script type="text/javascript"> function validation()
{
if(document.form1.first_name.value=="")
{
alert("Please enter your first name.");
document.form1.first_name.focus(); return false;
}
if(document.form1.last_name.value=="")
{
alert("Please enter your last name.");
document.form1.last_name.focus(); return false;
}
if(document.form1.dob.value=="")
{
alert("Please enter your date of birth.");
document.form1.dob.focus();
return false;
}
else
{
var date = document.form1.dob.value; var yes =
checkDate(date);
if(!yes)
{
alert("Please Enter a valid date of birth.");
document.form1.dob.focus();
return false;
}
}
if(document.form1.email1.value=="")
{
alert("Please enter your primary email.");
document.form1.email1.focus();
return false;
}
else
{
var isEmail =
emailValidator(document.form1.email1.value); if(!isEmail)
{
alert("Please enter a valid primary email.");
document.form1.email1.focus();
return false;
}
}
if(document.form1.address.value != "" &&
document.form1.address.value.length > 100){
alert("You can enter address upto 100 characters only.");
}
}
</script>
</head>
<body
onLoad="javascript:document.form1.first_name.focus()">
<form name="form1" method="post"
action="Student_Registration_handler.php"
onSubmit="return validation()" enctype="multipart/form-
data">
<table width="100%">
<tr>
<td width="100%" height="15%" align="center"><?php
include 'Header.php';?></td>
</tr>
<tr>
<td width="100%" height="80%" align="center"><table
width="80%" border="1" cellpadding="2" cellspacing="0"
bordercolor="#CCCCCC">
<tr bgcolor="#EEEEEE">
<td colspan="4" align="center"
class="stylemedium">Student Information</td>
</tr>
<tr class="stylesmall">
<td>First Name <span class="stylered">*</span> </td>
<td><input name="first_name" type="text" id="first_name"
maxlength="50"></td>
<td>Last Name <span class="stylered">*</span> </td>
<td><input name="last_name" type="text" id="last_name"
maxlength="30"></td>
</tr>
<tr class="stylesmall">
<td>Gender</td>
<td><input name="gender" type="radio" value="Male"
checked> Male<input name="gender" type="radio"
value="Female"> Female</td>
</select></td>
<td>Contact No</td>
<td><input name="contact_no" type="text"
id="contact_no" maxlength="20"></td>
</tr>
<tr class="stylesmall">
<td> City</td>
<td><input name="city" type="text" id="city"
maxlength="30"></td>
<td> </td>
<td> </td>
</tr>
<tr class="stylesmall">
<td>Primary Email <span class="stylered">*</span> </td>
<td><input name="email1" type="text" id="email1"
maxlength="100"></td>
<td>Secondary Email</td>
<td><input name="email2" type="text" id="email2"
maxlength="100"></td>
</tr>
<tr class="stylesmall">
<td>Address</td>
<td colspan="3"><textarea name="address" cols="45"
rows="2" id="address"></textarea></td>
</tr>
<tr class="stylesmall">
<td> Description</td>
<td colspan="3"><textarea name="description" cols="45"
rows="3" id="description"></textarea></td>
</tr>
<tr bgcolor="#EEEEEE">
<td colspan="4" align="center"
class="stylemedium">Login Information</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
<tr class="stylesmall">
<td>Desired ID <span class="stylered">*</span> </td>
<td><input name="st_id" type="text" id="st_id"
maxlength="20"></td>
<td> </td>
<td> </td>
</tr>
<tr class="stylesmall">
<td>Password <span class="stylered">*</span> </td>
<td><input name="st_pass" type="password" id="st_pass"
maxlength="20"></td>
<td align="right">Retype Password<span class="stylered">
*</span>
</td>
<td><input name="retype" type="password" id="retype"
maxlength="20"></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE">
<td colspan="4" align="center" class="stylemedium">
Resume Information</td>
</tr>
<tr class="stylesmall">
<td>Upload Resume </td>
<td colspan="3"><input name="resume" type="file" >
<
span
class="stylered">.doc , .txt, .pdf file only</span></td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
<tr align="center" class="stylemedium"
bgcolor="#EEEEEE">
<td colspan="4">Image Information</td>
</tr>
<tr class="stylesmall">
<td>Upload Image </td>
<td colspan="3"><input type="file" name="image">
<
span
class="stylered"><span class="stylered">.jpg file And .gif
file only</span></td>
</tr>
<tr>
<td colspan="4"><span class="stylered">* <em>means
fields are compulsory</em> </span></td>
</tr>
<tr>
<?ph
include 'Connect.php';
$flag = "success"; function rollbackData(){
mysql_query(" ROLLBACK "); global $flag;
$flag = "error"; if(mysql_error() != null){
die(mysql_error());
}
}
$student_id = $_POST['st_id'];
$student_pass = $_POST['st_pass'];
$first_name = $_POST['first_name'];
$last_name = $_POST['last_name'];
$gender = $_POST['gender'];
$contact_no = $_POST['contact_no'];
$qualification = $_POST['qualification'];
$city = $_POST['city'];
$email1 = $_POST['email1'];
$email2 = $_POST['email2'];
$address = $_POST['address'];
$description = $_POST['description'];
$resumename = "";
$imagename = "";
$dobdate = date("Y-m-d",strtotime($_POST['dob']));
/*
This block is used to check whether the student_id already
exits
in database.
*/
$select_query="select student_id from student_information
where student_id = '$student_id'";
$result_set = mysql_query($select_query,$link_id);
if($row = mysql_fetch_array($result_set)){
$flag="exists"; header("location:Student_login.php?
flag=$flag&student_id=$student_id");
die();
}
else{
/*
This block is used to insert the student record in database if
the student_id is already not present in the database.
/*
uploaded then resumename is stored in database.
*/
if image is successfully
mysql_query("update student_information set
resume='$resumename' where student_id='$student_id'",
$link_id);
if(mysql_error() != null){ die(mysql_error());
}
else{
}else{
}
$flag = "success"; rollbackData();
rollbackData();
die("You can upload resume of 1 MB
rollbackData();
die("You can upload resume of .txt, .pdf,
.doc extensions only. Please, try again.");
}
}
if($_FILES['image']['name'] != ""){
$filename = $_FILES['image']['name'];
$ext = strrchr($filename,".");
$imagename = $student_id;
$imagename .="_". $filename;
if($ext ==".jpg" || $ext ==".jpeg" || $ext ==".JPG" ||
$ext ==".JPEG" || $ext ==".gif" || $ext ==".GIF"){
$_FILES['image']['tmp_name'];
if(move_uploaded_file($userfile_tmp_name, "$archive_dir/
$imagename")){
/*
uploaded then imagename is stored in database.
*/
if image is successfully
$resumename)) {
$resumename);
}
else{
}
if(file_exists('resumes/' . unlink('resumes/' .
}
rollbackData();
$resumename)) {
$resumename);
if(file_exists('resumes/' . unlink('resumes/' .
}
rollbackData();
die("You can upload image of 1 MB
}
else{
$flag="error";
if($flag == "success"){
mysql_query(" COMMIT ");
$flag="success"; if(mysql_error() != null){
die(mysql_error());
}
/*
This block is used to send email to the
successfully registered users.
*/
/*
$to = $email1;
$subject = 'Congratulations';
$message = 'Congratulations you are registered in our
site.\r\n\r\n';
$student_pass";
}
header("location:Student_login.php?flag=$flag"); die();
}
?>
Admin_Edit_Student_Info.php
<?php
session_start();
$session_id = $_SESSION['userid']; if($session_id == null)
{
header("location:index.php"); die();
}
include 'Connect.php';
$student_id = $_REQUEST['student_id'];
$query = "select * from student_information where
student_id='$student_id'";
$result = mysql_query($query, $link_id);
$data = mysql_fetch_array($result);
?>
<html>
<head>
<link rel="stylesheet" href="Style.css" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Edit Student Information By Admin</title>
<script src="Validation.js"></script>
<script type="text/javascript"> function validation()
{
if(document.form1.first_name.value=="")
{
alert("Please enter your first name.");
document.form1.first_name.focus(); return false;
}
if(document.form1.last_name.value=="")
{
alert("Please enter your last name.");
document.form1.last_name.focus(); return false;
}
if(document.form1.dob.value=="")
{
alert("Please enter your date of birth.");
document.form1.dob.focus();
return false;
}
else
{
var date = document.form1.dob.value; var yes =
checkDate(date);
if(!yes)
{
alert("Please Enter a valid date of birth.");
document.form1.dob.focus();
return false;
}
}
if(document.form1.email1.value=="")
{
alert("Please enter your primary email.");
document.form1.email1.focus();
return false;
}
else
{
var isEmail =
emailValidator(document.form1.email1.value); if(!isEmail)
{
alert("Please enter a valid primary email.");
document.form1.email1.focus();
return false;
}
}
if(document.form1.email2.value != "")
{
var isEmail =
emailValidator(document.form1.email2.value); if(!isEmail)
{
alert("Please enter a valid secondary email.");
document.form1.email2.focus();
return false;
}
}
if(document.form1.address.value != "" &&
document.form1.address.value.length > 100){
alert("You can enter address upto 100 characters only.")
document.form1.address.focus();
return false;
}
if(document.form1.description.value != "" &&
document.form1.description.value.length > 200){
alert("You can enter description upto 200 characters only.")
}
function SetAll()
{
document.form1.qualification.value="<?php echo
$data['qualification'];?>"; var gen = "<?php echo
$data['gender'];?>";
var gend = document.form1.gender.length; for(var i =0;
i<gend; i++)
{
if(document.form1.gender[i].value == gen)
document.form1.gender[i].checked=true;
}
}
</script>
</head>
<body onLoad="javascript:SetAll()">
<form name="form1" method="post"
action="Admin_Edit_Student_Info_Handler.php"
onSubmit="return validation()">
<input type="hidden" name="student_id" value="<?php
echo $student_id; ?
>;">
<table width="100%" height="100%" >
<tr bgcolor="#E1E1E1">
<td width="100%" height="15%" align="center"><?php
include 'Admin_Header.php';?></td>
</tr>
<tr>
<td width="100%" height="80%" align="center"><table
width="80%" border="1" cellpadding="2" cellspacing="0"
bordercolor="#EEEEEE">
<tr>
<tr class="stylesmall">
<td align="left">Qualification : </td>
<td align="left"><select name="qualification"
id="qualification">
<option value="High School">High School</option>
<option value="Graduate">Graduate</option>
<option value="MCA">MCA</option>
<option value="BCA">BCA</option>
<option value="Master Degree">Master Degree</option>
</select></td>
<td align="left">Contact No</td>
<td align="left"><input name="contact_no" type="text"
id="contact_no" value="<?php echo $data[$contact_no];?
>" size="25" maxlength="20"></td>
</tr>
<tr class="stylesmall">
<td align="left">Primary Email : </td>
<td align="left"><input name="email1" type="text"
id="email1" value="<?php echo $data['email1'];?>"
size="25" maxlength="100"></td>
<td align="left">Secondary Email</td>
<td align="left"><input name="email2" type="text"
id="email2" value="<?php echo $data['email2'];?>"
size="25" maxlength="100"></td>
</tr>
<tr class="stylesmall">
<td align="left">City : </td>
<td colspan="3" align="left"><input name="city"
type="text" id="city" value="<?php echo $data['city'];?>"
size="25" maxlength="30"></td>
</tr>
<tr class="stylesmall">
<td align="left">Address : </td>
<td colspan="3" align="left"><textarea name="address"
rows="2" cols="40"><?php echo $data['address'];?
></textarea></td>
</tr>
<tr class="stylesmall">
<td align="left">Description : </td>
Admin_Edit_Student_Info_Handler
<?php
session_start();
$session_id = $_SESSION['userid']; if($session_id == null)
{
header("location:index.php"); die();
include 'Connect.php';
$student_id = $_POST['student_id'];
$first_name = $_POST['first_name'];
$last_name = $_POST['last_name'];
$gender = $_POST['gender'];
$contact_no = $_POST['contact_no'];
$qualification = $_POST['qualification'];
$city = $_POST['city'];
$email1 = $_POST['email1'];
$email2 = $_POST['email2'];
$address = $_POST['address'];
$description = $_POST['description'];
$dateofbirth = date("Y-m-d",strtotime($_POST['dob']));
$flag = "";
$query = "update student_information set
first_name='$first_name',last_name='$last_name',gender='$
gender',date_of_ birth='$dateofbirth',";
$query .=
"qualification='$qualification',contact_no='$contact_no',em
ail1='$email1',email
2='$email2',city='$city',address='$address',description='$de
scription' ";
$query .= " where student_id='$student_id'";
$result = mysql_query($query, $link_id); if(mysql_error() !
= null){
die(mysql_error());
}
if($result)
{
}
else
{
}
$flag = "success";
$flag = "error";
header("location:Admin_Edit_Student_Info.php?
flag=$flag&student_id=$student_id");
?>
Validation.js
function checkDate(dobStr)
{
var arr = dobStr.split(/-/); if(arr.length != 3){
return false;
}
var ddStr = arr[0]; var mmStr = arr[1]; var yyStr = arr[2];
if(isNaN(ddStr)){
return false;
}
if(isNaN(mmStr)){
return false;
}
if(isNaN(yyStr)){
return false;
}
dd=parseInt(ddStr,10); mm=parseInt(mmStr,10);
yy=parseInt(yyStr,10);
return false;
}
if(yy < 1900){
return false;
}
if(yy > 3000){
return false;
}
switch (mm){
case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
return true; case 4:
case 6:
case 9:
case 11:
if(dd<=30)
return true
else
case 2:
return false;
if(yy%100==0)
{ if(yy%400==0)
{
if(dd<=29)
return true;
else
return false;
}
else
{ if(yy%4==0){ if(dd<=29)
return true;
else
}
return false;
if(dd<=28)
{ return true;
}
else
{ return false;
}
default :
return false;
}
}
function emailValidator(elem)
{
var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-
9]{2,4}$/; if(elem.match(emailExp))
{
}
else
{
}
}
return true;
return false;
SNAPSHOTS
SCOPE OF THE PROJECT
*****************