KARNATAK UNIVERSITY
Janata Shikshna Samiti’s
Shri Manjunatheshwara Institute of UG &
PG Studies, Vidyagiri, Dharwad-580004.
A PROJECT REPORT ON
“ALUMNI ASSOCIATION”
BACHELOR OF COMPUTER SCIENCE
OF
KARNATAK UNIVERSITY, DHARWAD
PROJECT GUIDED BY
Prof.Manjunath.Pujar
Submitted by
GANESH .BEDRE BASAVARAJ.KAMATI
BSc(cs)VI SEMESTER BSc(cs)VI SEMESTER
REGNO:16M10118 REG NO:16M10108
CERTIFICATE
CERTIFICATE
ACKNOWLEDGEMENT
The successful presentation of this project is an acknowledgement of the immense
support extended by JSS SHRI MANJUNATHESHWARA INSTITUTE OF
UG & PG STUDIES VIDYAGIRI, DHARWAD, Which has provided an
opportunity to fulfill our goal.
We would like to express our heartfelt thanks to our President SHRI SHRI
VISHWESHATEERTHA SRIPADANGALAVARU SWAMIJI OF
PEJAVARMATH, UDUPI & PUJYA Dr.D.VEERENDRA HEGGADE,
Chairman of JANATA SHIKSHANA SAMITI & Dharmadhikari of
DHARMASTHALA For their kind blessing and Our beloved Secretary of
JANATA SHIKSHANA SAMITI’S Dr. N. VAJRAKUMAR.
We express our thanks to our beloved Principal Dr. AJITH PRASAD for
extending all the facilities to carry out this project.
And we are grateful to our Parents, our Friends and all the people who have
helped us directly or indirectly to make this project a success.
Basavaraj.Kamati Ganesh.Bedre
DECLARATION
Date: Ganesh.Bedre
Place:Dharwad Basavaraj.Kamati
CONTENTS
1.1 Introduction
2. FRAME WORK……………………………………………………………12-26
2.1 Introduction
2.2 PHP
2.3 HTML
2.4 MYSQL
3. PROJECT SUBJECT……………………………………………………27-29
7. DATABASE TABLE………………………………………………47-50
8. SCREEN SHOT……………………………………………………51-57
13. BIBLIOGRAPHY…………………………………………………81
SYNOPSIS
Alumni Association
OBJECTIVE:
The aim of this project is to build a system that will be able to manage alumni
data of a college and provide easy access to the same. Alumni of a college
generally stay in touch with their immediate friends but find it hard to stay
connected with college mates. Contact between alumni can be used to forge
business connections and to gain references or insight in a new field.
This Application is to allow old and new students of a college to communicate
with each other. This allows students to know about each other and their
current activities.
ADMIN :
Login
Add Event /Updates
Approve Students/Alumni
view Alumni Members
ALUMNI:
Registration
Login
View Events/Upates
OUTPUT OF PROJECT:
Alumni Details
Feedback Reports
PROCESS LOGIC:
REGISTRATIO
N DETAIL
ALUMNI RECORD OF
LOGIN
DETAILES ALUMNI
ADD EVENT
LEVEL ONE :
Updated records
TOOLS/PLATFORM LANGUAGES
SOFTWARE REQUIREMENTS:
OPERATING SYSTEM: WINDOWS XP OR ABOVE
DATABASE: MY SQL,
HARDWARE REQUIREMENTS:
PROCESSOR: PENTIUM IV OR ABOVE
RAM : 512MB
LIMITATIONS:
The Alumni members those who registers can only view further details.
FUTURE APPLICATION:
FRAMEWORK
2.2 PHP:
PHP originally stood for “Personal Home Page” and was released as a free,
open source project. Over time, the language was reworked to meet the needs of
its users. In 1997, PHP was renamed to the current “PHP: Hypertext
especially well-suited for creating dynamic web pages and client-side GUI
applications. . PHP generally runs on a web server, taking PHP code as its input
and creating web pages as output The scripting language features integrated
support for interfacing with databases such as MySQL, which makes it a prime
candidate for building all manner of web applications, from simple personal
incompatible with the GNU General Public License (GPL), due to restrictions
language that is especially suited for web development and can be embedded
into HTML. It generally runs on a web server, taking PHP code as its input and
creating web pages as output. It can be deployed on most web servers and on
almost every operating system and platform free of charge. PHP is installed on
Example:
<? Php
Echo “Hello Welcome to JSS”
?>
2.2.1 Usage:
PHP is a general-purpose scripting language that is especially suited for
web development. PHP generally runs on a web server, taking PHP code as its
input and creating web pages as output. It can also be used for command-line
scripting and client-side GUI applications. PHP can be deployed on most web
servers, many operating systems and platforms, and can be used with many
relational database management systems. It is available free of charge, and the
PHP Group provides the complete source code for users to build, customize and
extend for their own use.
PHP primarily acts as a filter, taking input from a file or stream containing
text and/or PHP instructions and outputs another stream of data; most
commonly the output will be HTML. It can automatically detect the language of
the user. From PHP 4, the PHP parser compiles input to produce byte code for
processing by the Zend Engine, giving improved performance over its
interpreter predecessor. Originally designed to create dynamic web pages,
PHP’s principal focus is server side scripting, and it is similar to other server-
side scripting languages that provide dynamic content from a web server to a
client, such as Microsoft’s Active Server Pages, Sun Microsystems’ Java Server
Pages, and mod_perl. PHP has also attracted the development of many
frameworks that provide building blocks and a design structure to promote rapid
application development (RAD). Some of these include CakePHP, Symphony,
Code Igniter, and Send Framework, offering features similar to other web
application frameworks.
The LAMP architecture has become popular in the web industry as a way
of deploying web applications. PHP is commonly used as the P in this bundle
alongside Linux, Apache and MySQL, although they may also refer to Python
or Perl. AS of April 2007, over 20 million Internet domains were hosted on
servers with PHP installed, and PHP was recorded as the most popular Apache
module. Significant websites are written in PHP including the user-facing
portion of Facebook, Wikipedia (MediaWiki), Yahoo!, My Yearbook, Digs,
Word press and Tagged. In addition to server-side scripting, PHP can be used to
create stand-alone, compiled applications and libraries, it can be used for shell
scripting, and the PHP binaries can be called from the command line.
As with many scripting languages, PHP scripts are normally kept as human-
readable source code, even on production web servers. In this case, PHP scripts
will be compiled at runtime by the PHP engine, which increases their execution
time. PHP scripts are able to be compiled before runtime using PHP compilers
as with other programming languages such as C (the language PHP and its
extensions are written in). Code optimizers aim to reduce the computational
complexity of the compiled code by reducing its size and making other changes
that can reduce the execution time with the overall goal of improving
performance. The nature of the PHP compiler is such that there are often
opportunities for code optimization, and an example of a code optimizer is the
Send Optimizer PHP extension.
Another approach for reducing overhead for high load PHP servers is using
PHP accelerators. These can offer significant performance gains by caching the
compiled form of a PHP script in shared memory to avoid the overhead of
parsing and compiling the code every time the script runs.
2.3 HTML:
HTML means Hypertext Markup Language. HTML is a method of
describing the format of document, which allows them to be viewed on
computer screen. Web browsers display HTML documents, program which can
navigate across networks and display a wide variety of types of information.
HTML pages can be developed to be simple text or to be complex multimedia
extra advantages containing, moving images, virtual reality, and java applets.
The global publishing format of the Internet is HTML. It allows authors to use
not only text but also format that text with headings, list and tables, and also
includes still images videos, and sound within text. Readers can access pages
information from anywhere in the world at the click of mouse button
</head>
<body>
<h1> Welcome To JSS College</h1>
</body>
</html>
OUTPUT:
Windows exclusively is that you can send and receive E-mail messages based
on SQL Server "events" and you can also let the operating system handle login
security. The data base is an organized collection of data. A database
management system (DBMS) such as Access, FileMaker Pro, Oracle or SQL
Server provides you with the software tools you need to organize that data in a
flexible manner. It includes facilities to add, modify or delete data from the
database, ask questions (or queries) about the data stored in the database and
produce reports summarizing selected contents.
Database Evolution:
SQL was invented back in the 1960's by E.F. Cod of IBM. in order to increase
data integrity and reduce repetitive data. RDBMS systems didn't appear until the
late 70's when Sybase and Oracle introduced systems. These systems existed on
mainframes at the time.
FEATURES OF SQL:
It is simple English like language and uses simple commands such as
SELECT, CREATE, DROP etc.
It is not having condition loops, variables and most of the commands
are single line commands.
To implement application logics, SQL has got extension language
popularly called as PL/SQL (Procedural language of sql).
One of the key features of sql server is the XML support. XML has
Grown to be standard technology for organizations that share data on
the web.
Now with sql server 2000 XML documents can be retrieved directly
from the database and it provides various ways to retrieve data in XML
format.
The entire SQL has been divided into 4 major categories.
1. Data Manipulation Language.
View are basically used as a part of security, means in many organizations ,the
end user will never be given original tables & all data entry will be done with
the help of views only. But the data base administrator will be able to see
everything because all the operations done by the different users will come to
the same table.
2.4.1 Queries:
Syntax:
mysql_connect (server name, username, password);
Server name: Optional Specifies the Server to connect .Default values is
Local host: 3306
Example:
In the following example we store the connection in a variable ($con) for
later use in the script. The “die” part will be executed if the connection fails:
Closing a Connection:
The connection will be closed automatically when the script ends. To close
the connection before, use the mysql_close() function:
available under terms of the GNU General Public License, as well as under a
variety of proprietary agreements. MySQL is a database. The data in MySQL is
stored in database objects called tables. A table is a collection of related data
entries and it consists of columns and rows. Databases are useful when storing
information categorically.
Before you can access data in a database, you must create a connection to the
database. In PHP, this is done with the mysql_connect () function.
Server name: Optional Specifies the Server to connect .Default values is local
host: 3306
1) The following figure shows your PHPMyAdmin interface, just enter your
database name and click the 'Create' button to create your database.
2) Now to create new tables enter your table name and the number of fields in
the table, then clicks the 'Go' Button.
3) The next step is to create the fields, just enter values for each field name,
type, length of the field, null option and mention whether it is a primary key or
not. Then click the 'Save' button to complete your table creation.
A list of your databases will appear. Click the one that is your Word Press
database.
Note the size of the 'customer details' table - this is one to be emptied in this
example.
PROJECT SUBJECT
3) PROJECT SUBJECT
The aim of this project is to build a system that will be able to manage
alumni data of a college and provide easy access to the same. Alumni of a
college generally stay in touch with their immediate friends but find it hard to
stay connected with other college and college mates. Contact between alumni
can be used to forge business connections and to gain references or insight in a
new field.
Existing system
1. There is lack of updates regarding college activities.
2. There is no interaction between college and alumni.
Proposed System:
3.3PROCESS_LOGIC
REGISTRATIO
ALUMNI N
EVENTS
DETAILES REPORT
LOGIN
SOFTWARE REQUIREMENT
AND
SPECIFICATION
1.Introduction
1.1 Purpose
The purpose of the JSS SMI Alumni website is to create a social networking website for
alumni. For the alumni to gather and share information. Alumni must be graduated from the
JSS SMI College. Alumni will be able to view events, upload contact information and search
for contact information of other alumni. Events will minimally include a date, time,
description, Contact information will consist of an email address, phone number and full
name (inclusive of middle name if applicable).
1.2. Scope
The JSS SMI UG&PG STUDIES Alumni Database is designed to run on the departmental
server and to allow alumni to fill out a survey form, create a new database entry, update an
existing database entry or contact another alumni. The data will be held in an Access
database on the departmental server.
The remainder of this document is three chapters, the first offering a general description of
the
Software product about the initial situation, the purpose of the project, the context and the
benefits
of the project.
The second chapter lists the functional requirements that the software product should meet.
So, it describes the actors, the system boundary and the use cases.
The final chapter exposes the non-functional requirements of the application such as
performance, safety, security issues, etc.
2. Overall description
Groups of people that we expect will be using this product are going to be any person who
have studied in JSS SMI college .These groups consist of all JSS SMI Graduated Students.
Functional Requirements are those that refer to the functionality of the system, i.e., what
services it will provide to the user. Nonfunctional (supplementary) requirements pertain to
other information needed to produce the correct system and are detailed separately.
The developers are limited to less than two months to completely develop this website.
Alumni interface
The minimal requirements are that the alumni should be able to interact with the system
through the interface provided by Constraint layout or Relative layout. There will be a
different command for each of the following actions:
Alumni will be provided with a forum where they can interact with each other.
Alumni can share their feedbacks.
Alumni who have registered will get an notification.
Windows XP or above
Dream Weaver
WAMP
MySql (as database)
HTML: HyperText Markup Language is the standard markup language for creating web
pages and web applications. With Cascading Style Sheets (CSS)and JavaScript, it forms a
triad of cornerstone technologies for the World Wide Web. With HTML constructs , images
and other objects such as interactive forms may be embedded into the rendered page.
CSS: Cascading Style Sheets describes how HTML elements are to be displayed on screen
, paper or in other media. CSS saves a lot of work . It can control the layout of multiple web
pages all at once. CSS is a cornerstone technology of the World Wide Web, alongside HTML
and JavaScript.
PHP: Hypertext Pre-processor is a server side scripting language designed for web
development.PHP code may be embedded into HTML code or it can be used in combination
with various web template systems, web content management systems and web
frameworks.PHP code is usually processed by a PHP interpreter implemented as a module in
the web server or as a Common Gateway Interface (CGI) executable.
3. System Features
Register:
Response: The system processes the form and determines that at least one piece of
information is invalid. An error is displayed next to the invalid fields. The user does not leave
the register page.
4.2 Log In
User Action: The user clicks the “Edit Profile” tab on the task bar.
Response: Redirects the user to a page with a form that asks them to fill in information about
themselves: first name, last name, maiden name (if applicable), contact email, contact
address, contact number, and password for verification.
User Action: The user clicks “Submit” button in the “I forgot my password” form.
Response: The system will send an automatic email to the provided address; displaying the
password associated with that account, along with a link to the “Log In” page.
4.6 Search
User Action: The user types in the search bar, specifies a category to search by, and presses
enter.
Response: The system processes the input and displays all applicable results found in the
database based on the category specified.
User Action: The user presses enter or inputs an invalid escape character.
Response: The system process the input and determines that the information is invalid. It
does not produce any search results. An error message is displayed on the new page.
User Action: The user clicks the “Delete Profile” tab on the task bar.
Response: The user is presented with a pop-up asking them if they’re sure they want to delete
their user profile.
4.9 Feedback
5. Non-functional requirements
The user interface of the application must be user-friendly and easy to use.
The system shall function in real-time: any operation on the stored information, triggered by
the Alumni, shall complete in less than 10 seconds.
Processor Intel-Core I3 or above
1GB RAM or above
30 GB free space or above
Windows XP or above
Widows Operating System
In order to use certain features of the system, users must first authenticate themselves by
name and password. The system shall not allow access if the user fails to provide correct
login information.The system should automatically perform log out if the user has been idle
for a specific period (e.g. 30 minutes).Physical access to the computer(s) storing the Alumni
Database shall be restricted to authorized personnel.
DATAFLOW DIAGRAM
Data Flow:
Functional Processing:
Data store:
Or
Actor/source/sink:
The files which are outside the system and used by the
process or the processes of the system. Generally
Objectives
LEVEL 1 DFD:
Updated records
ER DIAGRAM
DATABASE TABLES
7) Database table
SCREENSHOT
9) SCREENSHOT
Home Page
LOGIN PAGE
ADMIN PANEL
REGISTRATION DETAILS
FEEDBACK DETAILS
REGISTRATION VALIDATION
REGISTRATION VALIDATION
BLOG
SOURCE CODE
10)SOURCE CODE
Login:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-size: 24px;
font-weight: bold;
}
-->
</style>
</head>
<body>
<form name="form1" method="post" action="logcheck.php">
<p class="style1">Login</p>
<p>Username :
<input name="username" type="text" id="username">
</p>
<p>Password:
<input name="password" type="password" id="password">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
<a href="forgot_password.php">Forgot password </p>
</form>
</body>
</html>
FORGOT PASSWORD:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equal="X-UA-Compatible" content="IE=edge, chrome=1">
JSS SMI UG & PG STUDIES DHARWAD Page 59
Alumni Association
</head>
<body>
<div class="container">
<header>
<h1><strong>Forgot Password</strong></h1>
</header>
<?php
include('dbconnect.php');
echo $uname=$_REQUEST["username"];
//echo $uname;
$sql="select * from login where binary(username)='$uname'";
//echo $sql;
$res=mysql_query($sql);
if($row=mysql_fetch_array($res))
{
$hintqtn=$row["hint_q"];
$hintans=$row["hint_a"];
$pwd=$row["password"];
?>
</p>
</p>
<p class="style2"> Enter Hint Answer
</p>
<p><span class="style2">Hint Question</span>:<p class="style2"><?php echo
" ".$hintqtn; ?></p>
</p>
<form class="form-3" action="getpwd.php" method="post">
<div class="input-prepend" title="Hint Answer" data-rel="tooltip">
<input name="type_ans" type="text" class="input-large span10" id="username"
size="50" autofocus />
<input name="db_hintans" type="hidden" id="hintans" value="<?php echo
$hintans; ?>">
<input name="password" type="hidden" id="password" value="<?php echo
$pwd; ?>">
<p> <button type="submit"
class="btnbtn-primary">Get Password</button>
</p>
</fieldset>
</form>
</section>
</div>
</body>
</html>
<?php
}
else
{
?>
<script type="text/javascript">
alert("Wrong Username");
document.location="login.php";
</script>
<?php
}
?>
</body>
</html>
CHANGE PASSWORD:
<!DOCTYPE HTML>
<html>
<head>
<?php include('meta.php'); ?>
</head>
<label>
<input type="submit" name="Submit" value="Change" />
</label>
</form>
</div>
</div>
<div class="panel-footer">
<div class="row">
</div>
</div>
</div>
</div>
</div>
<!--footer section start-->
<?php include('footer.php'); ?>
<?php include('val.php');?>
Insert:
<?php
$eventname =$_POST['eventname'];
$description=$_POST['description'];
$eventdate=$_POST['eventdate'];
$con=mysql_connect('localhost','root','');
mysql_select_db('alumni',$con);
$sql="insert into event_details
values(null,'$eventname','$description','$eventdate')";
mysql_query($sql);
?>
<script>
alert('inserted.......');
document.location="event_details_form.php"
</script>
DELETE:
<?php
include('db.php');
$r_id=$_REQUEST['r_id'];
$sql="delete from registration where regid='$r_id' ";
mysql_query($sql);
?>
<script>
alert("deleted..");
document.location="Registration_Details_view.php";
</script>
EDIT:
<!DOCTYPE html>
<html>
<head>
<?php include('meta_tags.php'); ?>
<style type="text/css">
<!--
.style3 {font-family: "Times New Roman", Times, serif; font-size: 18px; }
-->
</style>
</head>
<body class="skin-blue">
<?php include('header.php'); ?>
<section class="content-header">
<h1>
REGISTRATION DETAILS
<small>(Fill Registration Details)</small>
</h1>
</section>
<?php
include('db.php');
include('val.php');
$r_id=$_REQUEST['r_id'];
$sql="select * from registration where regid='$r_id'";
$res=mysql_query($sql);
$row=mysql_fetch_array($res);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<form action="Registration_Details_update.php" method="post"
name="formID" id="formID">
<input type="hidden" name="r_id" value="<?php echo $row['regid'];?>">
<tr>
<td width="72">First_Name</td>
</tr>
<tr>
<td>Photo</td>
<td><input type="file" name="photo" class="validate[required]"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset"></td>
</tr>
</table>
</form>
<!-- end -->
</section><!-- /.content -->
</aside><!-- /.right-side -->
</div><!-- ./wrapper -->
UPDATE:
<?php
include('db.php');
$r_id=$_POST['r_id'];
$firstname =$_POST['firstname'];
$lastname=$_POST['lastname'];
$username=$_POST['username'];
$email=$_POST['email'];
$password=$_POST['password'];
$mobile=$_POST['password'];
$address=$_POST['address'];
$dob=$_POST['dob'];
$photo=$_POST['photo'];
View:
<!DOCTYPE html>
<html>
<head>
<?php include('meta_tags.php'); ?>
</head>
<body class="skin-blue">
<?php include('header.php'); ?>
</h3>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>
<td>Email</td>
<td>Mobile</td>
<td>Address</td>
<td>DateOfBirth</td>
<td>Photo</td>
<td>Delete</td>
</tr>
<?php
include('db.php');
$sql="select * from registration";
$res=mysql_query($sql);
while($row=mysql_fetch_array($res))
{
?>
<tr>
<td > <?php echo $row['regid'];?></td>
<td> <?php echo $row['firstname'];?></td>
<td> <?php echo $row['lastname'];?></td>
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
<!--
-->
</style>
</head>
<body class="skin-blue">
<!-- Left side column. contains the logo and sidebar -->
<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side">
<section class="content-header">
<h1>
REGISTRATION DETAILS
</h1>
</section>
<section class="content">
<!---start -->
<?php
include('val.php');
?>
<tr>
<td colspan="2">Registration_Details</td>
</tr>
<tr>
<td>Reg No</td>
</tr>
<tr>
<td>First_Name</td>
</tr>
<tr>
<td>Last_Name</td>
</tr>
<tr>
<td>Username</td>
</tr>
<tr>
<td>Email</td>
</tr>
<tr>
<td>Password</td>
</tr>
<tr>
<td>Mobile </td>
</tr>
<tr>
<td>Address</td>
</tr>
<tr>
<td>Date-Of-Birth</td>
</tr>
<tr>
<td>Photo</td>
</tr>
<tr>
</tr>
</table>
</form>
</body>
</html>
TESTING
Test Objectives:
The system is tested with variety of inputs. The System is tested for accuracy
and correctness of the results obtained. Finally the system is tested for inter-
operability.
Test Approaches:
validity
5. Ensure whether the possible validity check and
validity lookups have been provided validate data
entry.
Testing Strategies:
Unit Testing:
Unit testing is done on individual modules as they are completed and
become executable. It is confined only to the designer’s requirements.
Integration Testing:
Integration testing ensures that software and subsystems work together as a
whole. It tests the interface of all the modules to make sure that the modules
behave properly when integrated together.
System Testing:
System testing involves in-house testing of the entire system before delivery
to the user. Its aim is to satisfy the user. The system meets all requirements
of the client’s specifications.
Validation Testing:
The system has been tested and implemented successfully and thus ensured
that all requirements as listed in the software requirements specification are
completely fulfilled. In case of erroneous input corresponding error
messages are display.
Test Case
11) CONCLUSION
Software is said to have attained its objective only when it meet all
requirements of the user, further the user himself is the person to judge the
success of the system. Every attempt has been made to ensure that the system is
fully functional & works effectively & efficiently. The system has been tested
with simple data to cover all possible options & checked for all outputs. Since
the system is flexible & modular, further modifications of this package can be
easily incorporated.
13) BIBLIOGRAPHY
Books: