Sei sulla pagina 1di 54

A practical training report on

“EasySMS.com WEBSITE”

In partial fulfillment of the degree of

Bachelor of Technology

In

Computer Science & Engineering (VII Sem.)

Submitted By:
PRATIBHA CHAUDHARY
Enrollment No.:A20405212095

Amity School of Engineering & Technology


Amity University Rajasthan
(SEPTEMBER, 2015)
DECLARATION

I do, hereby, declare that the summer training report entitled “EasySMS.com
WEBSITE” is done by me at “MICROSOFT TECHNOLOGY ASSOCIATE
,MATHURA” under the guidance of Mr. Dheeraj Gupta and submitted as VII semester
practical training for the degree of B.Tech.(CSE) at Amity School of Engineering &
Technology, Amity University Rajasthan, Jaipur.

Pratibha Chaudhary
Enrollment No.: A20405212095

Amity School of Engg. & Technology,

AMITY UNIVERSITY RAJASTHAN


ACKNOWLEGMENT

The satisfaction and euphoria that accompany the successful completion of any task
would be incomplete without mentioning the names of people who made it possible,
whose constant guidance and encouragement crowns all efforts with our success.

Although a single sentence hardly suffices, I would like to thank almighty god for
blessing me with his grace and taking my endeavor to a successful culmination.

I also express my gratitude to Mr.Anil Saroliya, Co-ordinater for providing me


with adequate facilities, ways and means by which I was able to complete this
project. I express my sincere gratitude to him for his constant support and valuable
suggestions without which the successful completion of this project would not have
been possible.

I would like to extend my gratitude to all of my friends for their help and support
rendered to me in the various phases of this project.

PRATIBHA CHAUDHARY
ABSTRACT

Title: EasySMS.com WEBSITE

Project Description:

EasySMS.com is an online portal offering free and unlimited SMS across India.
EasySMS.com is a person-to-person communication network web site. It is free text
messaging portal that also allows chat. characters, it allow 140 characters is for user’s
message, rest of the characters will be filled with “Sent via EasySMS.COM”.
It only 10 seconds to send SMS. User has to register here first then he can messages.
User can also view his address book containing all the contact and also allows user to
add contact. User can have rights to create group and do group chats whenever
needed. Messages for Hindu festivals, Good morning, Good evening etc messages are
already stored in the databases you can select them and send to any of your
friend.Feedback of all the user are stored to provide the functionality needed by user
or to make our website more user friendly.

Software used:

Software which are used are:


1. Wampserver
2. Netbeans
3. Mysql Administrator
TABLES OF CONTENT

1. Organization Profile………………………………………………...1
2. Introduction to PHP…….…………………………………………...2
2.1History of Php……………………………………………………2
2.2Security…………………………………………………………...3
2.3Syntax of Php code……………………………………………….3
2.4Datatypes…………………………………………………………5
2.5Objects……………………………………………………………5
2.6Implementation…………………………………………………...6
2.7What a Php can do………………………………………………..6
2.8Why Php….……………………………………………………….6
3. MySQL Database…………………………………………………...7
3.1MySQL…………………………………………………………….7
3.2RDBMS……………………………………………………………8
3.3Interface…………………………………………………………...8
3.4Graphical………………………………………………………….9
3.5 Features…………………………………………………………..10
4. Project Introduction………………………………………………...11
4.1 Project Overview…………………………………………….......11
4.2Features of EasySMS.com….………………………………….....11
4.3Functioning of Project…………………………………………....11
5.Scope and Objective………………………………………………….13
6.Functional and Non-functional Requirements………………………14
6.1Functional Requirements…………………………………………14
6.2Performance Requirements………………………………………14
6.3Non-Functional Requirements……………………………………14
7.System Requirement for Specification………………………………15
7.1 Functional Description…………………………………………….15
7.2Hardware Specifications……………………………………………15
7.3Software Specifications……………………………………………..15
8.Data Flow Diagrams……………………………………………………16
9.Database Design………………………………………………………..17
10.Testing…………………………………………………………………18
11.Coding…………………………………………………………………20
12.Screen Shots……………………………………………………………41
13.Conclusions and Future Scope………………………………………..43
14. Bibliography…………………………………………………………..44
15.Appendix……………………………………………………………….45
LIST OF FIGURES

Figure:2.1 Php logo................................................................................. 2


Figure:3.1 MySQL Logo......................................................................... 7
Figure:3.2 MySQL Workbench............................................................... 8
Figure 12.1: Index Page ..........................................................................41
Figure 12.2: Register Page ......................................................................41
Figure 12.3: After logging in, Home Page...............................................42
Figure 12.4: When you click on send SMS.............................................42
CHAPTER-1
ORGANIZATIONAL PROFILE

Microsoft was founded in 1975 by Paul Allen and Bill Gates, Microsoft Corporation is an
American multinational technology company headquartered in Redmond, Washington, that
develops, manufactures, licenses, supports and sells computer software, consumer electronics
and personal computers and services.

Its best known software products are the Microsoft Windows line of operating systems,
Microsoft Office office suite, and Internet Explorer and Edge web browsers. Its flagship
hardware products are the Xbox game consoles and the Microsoft Surface tablet lineup. It is
the world's largest software maker measured by revenues. It is also one of the world's most
valuable companies.

As of 2015, Microsoft is market dominant in both the IBM PC-compatible operating system
(while it lost the majority of the overall operating system market to Android) and office
software suite markets (the latter with Microsoft Office). The company also produces a wide
range of other software for desktops and servers, and is active in areas including Internet
search (with Bing), the video game industry (with the Xbox, Xbox 360 and Xbox One
consoles), the digital services market (through MSN), and mobile phones (via the operating
systems of Nokia's former phones and Windows Phone OS).

In June 2012, Microsoft entered the personal computer production market for the first time,
with the launch of the Microsoft Surface, a line of tablet computers.

With the acquisition of Nokia's devices and services division to form Microsoft Mobile Oy,
the company re-entered the Smartphone hardware market, after its previous attempt,
Microsoft Kin, which resulted from their acquisition of Danger Inc.

Microsoft is a portmanteau of the words microcomputer and software.

MICROSOFT TECHNOLOGY ASSOCIATE (MTA)


Microsoft Technology Associate (MTA) is an introductory Microsoft certification for
individuals considering a career in technology. MTA certification addresses a wide spectrum
of fundamental technical concepts, assesses and validates your core technical knowledge, and
enhances your technical credibility.

Note: MTA exams do not qualify for MCP certification, nor are they a prerequisite for
MCSA or MCSD certification.

Exams are available in three different tracks: IT infrastructure, database, and development.
Exams are taken through participating educational institutions at Certiport testing centers or
individually through Prometric.
CHAPTER-2
INTRODUCTION TO PHP

2.1HISTORY OF PHP

Figure: 2.1 PHP Logo

PHP is a server-side scripting language designed for web development but also used as
a general-purpose programming language.

PHP is an acronym for "Hypertext Preprocessor". It has become a very popular dynamic
server side scripting language that allows an application developer to create very simple to
very complex mechanisms for the web. PHP code can be directly mingled in with your
HTML page content as long as the page has a .php extension ( myPage.php ). Any HTML file
you have can be turned into a PHP file and PHP script will run inside of it. Or it can be made
into external parse scripts and class files placed on server and connected to your front-end
files. The general logic within PHP is similar to other popular programming languages. The
syntax of PHP is relatively easy to understand once you create a few applications.

PHP as it's known today is actually the successor to a product named PHP/FI. Created in
1994 by Rasmus Lerdorf, the very first incarnation of PHP was a simple set of Common
Gateway Interface (CGI) binaries written in the C programming language. Originally used for
tracking visits to his online resume, he named the suite of scripts "Personal Home Page
Tools," more frequently referenced as "PHP Tools." Over time, more functionality was
desired, and Rasmus rewrote PHP Tools, producing a much larger and richer implementation.
This new model was capable of database interaction and more, providing a framework upon
which users could develop simple dynamic web applications such as guestbooks. In June of
1995, Rasmus » released the source code for PHP Tools to the public, which allowed
developers to use it as they saw fit. This also permitted - and encouraged - users to provide
fixes for bugs in the code, and to generally improve upon it.

In September of that year, Rasmus expanded upon PHP and - for a short time - actually
dropped the PHP name. Now referring to the tools as FI (short for "Forms Interpreter"), the
new implementation included some of the basic functionality of PHP as we know it today. It
had Perl-like variables, automatic interpretation of form variables, and HTML embedded
syntax. The syntax itself was similar to that of Perl, albeit much more limited, simple, and
somewhat inconsistent. In fact, to embed the code into an HTML file, developers had to use
HTML comments. Though this method was not entirely well-received, FI continued to enjoy
growth and acceptance as a CGI tool --- but still not quite as a language. However, this began
to change the following month; in October, 1995, Rasmus released a complete rewrite of the
code. Bringing back the PHP name, it was now (briefly) named "Personal Home Page
Construction Kit," and was the first release to boast what was, at the time, considered an
advanced scripting interface. The language was deliberately designed to resemble C in
structure, making it an easy adoption for developers familiar with C, Perl, and similar
languages. Having been thus far limited to UNIX and POSIX-compliant systems, the
potential for a Windows NT implementation was being explored.

The code got another complete makeover, and in April of 1996, combining the names of past
releases, Rasmus introduced PHP/FI. This second-generation implementation began to truly
evolve PHP from a suite of tools into a programming language in its own right. It included
built-in support for DBM, mSQL, and Postgres95 databases, cookies, user-defined function
support, and much more. That June, PHP/FI was given a version 2.0 status. An interesting
fact about this, however, is that there was only one single full version of PHP 2.0. When it
finally graduated from beta status in November, 1997, the underlying parsing engine was
already being entirely rewritten.

Though it lived a short development life, it continued to enjoy a growing popularity in still-
young world of web development. In 1997 and 1998, PHP/FI had a cult of several thousand
users around the world. A Netcraft survey as of May, 1998, indicated that nearly 60,000
domains reported having headers containing "PHP", indicating that the host server did indeed
have it installed. This number equated to approximately 1% of all domains on the Internet at
the time. Despite these impressive figures, the maturation of PHP/FI was doomed to
limitations; while there were several minor contributors, it was still primarily developed by
an individual.

2.2 SECURITY
In 2013, 9% of all vulnerabilities listed by the National Vulnerability Database were linked to
PHP; historically, about 30% of all vulnerabilities listed since 1996 in this database are
linked to PHP. Technical security flaws of the language itself or of its core libraries are not
frequent (22 in 2009, about 1% of the total although PHP applies to about 20% of programs
listed). Recognizing that programmers make mistakes, some languages include taint
checking to automatically detect the lack of input validation which induces many issues. Such
a feature is being developed for PHP but its inclusion into a release has been rejected several
times in the past.

There are advanced protection patches such as Suhosin and Hardening-Patch, especially
designed for web hosting environments.

2.3 SYNTAX OF PHP CODE


The following Hello world program is written in PHP code embedded in an HTML
document:
<html>

<head>

<title>PHP Test</title>

</head>

<body>

<?php echo '<p>Hello World</p>'; ?>

</body>

</html>

However, as PHP does not need to be embedded in HTML or used with a web server, the
simplest version of a Hello World program can be written like this, with the closing tag
omitted as preferred in files containing pure PHP code (prior to PHP 5.4.0, this short syntax
for echo() only works with the short_open_tag configuration setting enabled, while for
PHP 5.4.0 and later it is always available

<?= 'Hello world';

The PHP interpreter only executes PHP code within its delimiters. Anything outside its
delimiters is not processed by PHP (although non-PHP text is still subject to control
structures described in PHP code). The most common delimiters are <?php to open
and ?> to close PHP sections. <script language="php"> and </script> delimiters are
also available, as are the shortened forms <? or <?= (which is used to echo back
a string or variable) and ?> as well as ASP-style short forms <% or <%= and %> . Short
delimiters make script files less portable, since support for them can be disabled in the local
PHP configuration, and they are therefore discouraged. The purpose of all these delimiters is
to separate PHP code from non-PHP code, including HTML.]

The first form of delimiters, <?php and ?> , in XHTML and other XML documents, creates
correctly formed XML "processing instructions". This means that the resulting mixture of
PHP code and other markup in the server-side file is itself well-formed XML.

Variables are prefixed with a dollar symbol, and a type does not need to be specified in
advance. PHP 5 introduced type hinting that allows functions to force their parameters to be
objects of a specific class, arrays, interfaces or callback functions. However, type hints
cannot be used with scalar types such as integer or string.

Unlike function and class names, variable names are case sensitive. Both double-quoted ( "" )
and here doc strings provide the ability to interpolate a variable's value into the string. PHP
treats newlines as whitespace in the manner of a free-form language (except when inside
string quotes), and statements are terminated by a semicolon. PHP has three types
of comment syntax: /* */ marks block and inline comments; // as well as # are used for
one-line comments. The echo statement is one of several facilities PHP provides to output
text, e.g., to a web browser.
In terms of keywords and language syntax, PHP is similar to most high level languages that
follow the C style syntax. if conditions, for and while loops, and function returns are
similar in syntax to languages such as C, C++, C#, Java and Perl.

2.4 DATATYPES
PHP stores whole numbers in a platform-dependent range, either a 64-bit or 32-
bit signed integer equivalent to the C-language long type. Unsigned integers are converted to
signed values in certain situations; this behavior is different from other programming
languages. Integer variables can be assigned using decimal (positive and negative), octal,
hexadecimal, and binary notations.

Floating point numbers are also stored in a platform-specific range. They can be specified
using floating point notation, or two forms of scientific notation. PHP has a native
Boolean type that is similar to the native Boolean types in Java and C++.Using the Boolean
type conversion rules, non-zero values are interpreted as true and zero as false, as in Perl and
C++.

The null data type represents a variable that has no value; NULL is the only allowed value
for this data type.

Variables of the "resource" type represent references to resources from external sources.
These are typically created by functions from a particular extension, and can only be
processed by functions from the same extension; examples include file, image, and database
resources.

Arrays can contain elements of any type that PHP can handle, including resources, objects,
and even other arrays. Order is preserved in lists of values and in hashes with both keys and
values, and the two can be intermingled. PHP also supports strings, which can be used with
single quotes, double quotes, nowdoc or heredoc syntax.

The Standard PHP Library (SPL) attempts to solve standard problems and implements
efficient data access interfaces and classes.

2.5 OBJECTS

Basic object-oriented programming functionality was added in PHP 3 and improved in PHP
4. Object handling was completely rewritten for PHP 5, expanding the feature set and
enhancing performance. In previous versions of PHP, objects were handled like value
types. The drawback of this method was that the whole object was copied when a variable
was assigned or passed as a parameter to a method. In the new approach, objects are
referenced by handle, and not by value.

PHP 5 introduced private and protected member variables and methods, along with abstract
classes, final classes, abstract methods, and final methods. It also introduced a standard way
of declaring constructors and destructors, similar to that of other object-oriented languages
such as C++, and a standard exception handling model. Furthermore, PHP 5
added interfaces and allowed for multiple interfaces to be implemented. There are special
interfaces that allow objects to interact with the runtime system. Objects implementing Array
Access can be used with array syntax and objects implementing Iterator or Iterator
Aggregate can be used with the foreach language construct. There is no virtual table feature
in the engine, so static variables are bound with a name instead of a reference at compile
time.

2.6 IMPLEMENTATION
The original, only complete and most widely used PHP implementation is powered by
the Zend Engine and known simply as PHP. To disambiguate it from other implementations,
it is sometimes unofficially referred to as "Zend PHP". The Zend
Engine compiles PHP source code on-the-fly into an internal format that it can execute, thus
it works as an interpreter. It is also the "reference implementation" of PHP, as PHP has no
formal specification, and so the semantics of Zend PHP define the semantics of PHP itself.
Due to the complex and nuanced semantics of PHP, defined by how Zend works, it is
difficult for competing implementations to offer complete compatibility.

2.7WHAT CAN PHP DO?


 PHP can generate dynamic page content

 PHP can create, open, read, write, delete, and close files on the server

 PHP can collect form data

 PHP can send and receive cookies

 PHP can add, delete, modify data in your database

 PHP can restrict users to access some pages on your website

 PHP can encrypt data

With PHP you are not limited to output HTML. You can output images, PDF files, and even
Flash movies. You can also output any text, such as XHTML and XML.

2.8 WHY PHP?


 PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)

 PHP is compatible with almost all servers used today (Apache, IIS, etc.)

 PHP supports a wide range of databases

 PHP is free.
CHAPTER-3 MYSQL DATABASE

3.1 MYSQL

Figure3.1: MySQL Logo

MySQL officially, but also called is (as of March 2014) the world's second most widely
used open-source relational database management system (RDBMS). It is named after co-
founder Michael Widenius's daughter, My. The SQL phrase stands for Structured Query
Language.

The MySQL development project has made its source code available under the terms of
the GNU General Public License, as well as under a variety of proprietary agreements.
MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL
AB, now owned by Oracle Corporation.

MySQL is a popular choice of database for use in web applications, and is a central
component of the widely used LAMP open source web application software stack (and other
‘ AMP‘ stacks). LAMP is an acronym for "Linux, Apache, MySQL,Perl/PHP/Python." Free-
software-open source projects that require a full-featured database management system often
use MySQL.

For commercial use, several paid editions are available, and offer additional functionality.
Application which use MySQL databases include: TYPO3, MODx, Joomla, WordPress,

phpBB, MyBB, Drupal and other software. MySQL is also used in many high-profile, large-
scale websites, including Google (though not for searches), Facebook, Twitter, Flickr
and YouTube.

SQL is a Standard - BUT....

Although SQL is an ANSI (American National Standards Institute) standard, there are
different versions of the SQL language.
However, to be compliant with the ANSI standard, they all support at least the major
commands (such as SELECT, UPDATE, DELETE, INSERT, WHERE) in a similar manner.

3.2 RDBMS
RDBMS stands for Relational Database Management System.RDBMS is the basis for SQL,
and for all modern database systems such as MS SQL Server, IBM DB2, Oracle, MySQL,
and Microsoft Access.

The data in RDBMS is stored in database objects called tables.

A table is a collection of related data entries and it consists of columns and rows.

3.3 INTERFACE

Figure3.2: MySQL Workbench

MySQL is a relational database management system (RDBMS), and ships with no GUI tools
to administer MySQL databases or manage data contained within the databases. Users may
use the included command line tools, or use MySQL "front-ends", desktop software and web
applications that create and manage MySQL databases, build database structures, back up
data, inspect status, and work with data records. The official set of MySQL front-end
tools, MySQL Workbench is actively developed by Oracle, and is freely available for use.

3.4 GRAPHICAL
The official MySQL Workbench is a free integrated environment developed by MySQL AB,
that enables users to graphically administer MySQL databases and visually design database
structures. MySQL Workbench replaces the previous package of software, MySQL GUI
Tools. Similar to other third-party packages, but still considered the authoritative MySQL
front end, MySQL Workbench lets users manage database design & modeling, SQL
development (replacing MySQL Query Browser) and Database administration (replacing
MySQL Administrator).

MySQL Workbench is available in two editions, the regular free and open source Community
Edition which may be downloaded from the MySQL website, and the proprietary Standard
Edition which extends and improves the feature set of the Community Edition.

Third-party proprietary and free graphical administration applications (or "front ends") are
available that integrate with MySQL and enable users to work with database structure and
data visually. Some well-known front ends, in alphabetical order, are:

 Adminer – a free MySQL front end written in one PHP script, capable of managing
multiple databases, with many CSS skins available.

 DBEdit – a free front end for MySQL and other databases.

 HeidiSQL – a full featured free front end that runs on Windows, and can connect to local
or remote MySQL servers to manage databases, tables, column structure, and individual
data records. Also supports specialised GUI features for date/time fields and enumerated
multiple- value fields.

 LibreOffice Base – LibreOffice Base allows the creation and management of databases,
preparation of forms and reports that provide end users easy access to data. Like
Microsoft Access, it can be used as a front-end for various database systems, including
Access databases (JET), ODBC data sources, and MySQL or PostgreSQL.

 Navicat – a series of proprietary graphical database management applications, developed


for Windows, Macintosh and Linux.

 OpenOffice.org – OpenOffice.org Base can manage MySQL databases if the entire suite
is installed. Free and open-source.

 phpMyAdmin – a free Web-based front end widely installed by web hosts, since it is
developed in PHP and is included in the LAMP stack, MAMP, XAMPP and
WAMP software bundle installers.
3.5 FEATURES
MySQL is offered under two different editions: the open source MySQL Community Server
and the commercial Enterprise Server. MySQL Enterprise Server is differentiated by a series
of commercial extensions which install as server plugins, but otherwise shares the version
numbering system and is built from the same code base.

Major features as available in MySQL 5.6:

 A broad subset of ANSI SQL 99, as well as extensions

 Cross-platform support

 Stored procedures, using a procedural language that closely adheres to SQL/PSM

 Triggers

 Cursors

 Updatable views

 Information schema

 Performance Schema

 A set of SQL Mode options to control runtime behavior, including a strict mode to better
adhere to SQL standards.

 Transactions with savepoints when using the default InnoDB Storage Engine. The NDB
Cluster Storage Engine also supports transactions.

 ACID compliance when using InnoDB and NDB Cluster Storage Engines SSL support

 Query caching

 Sub-SELECTs (i.e. nested SELECTs)

 Full-text indexing and searching

 Embedded database library

 Unicode support
CHAPTER-4
PROJECT INTRODUCTION

4.1 PROJECT OVERVIEW


EasySMS.com is an online portal offering free and unlimited SMS across India.
EasySMS.com is a person-to-person communication network web site. It is free text
messaging portal that also allows chat. characters, it allow 140 characters is for user’s
message, rest of the characters will be filled with “Sent via EasySMS.COM”.

From sending the coolest sms greetings, to scheduling sms when you're on the go, to
grabbing mobile recharges for free, all this can be done using our services.Never miss a
birthday, or any important occasion, just schedule SMS for future delivery, absolutely free.
You can also send Group SMS to many friends in one go

4.2 FEATURES OF EASYSMS.COM


 Send free SMS

 We deliver your messages to all the mobile operators and networks for FREE .

 90% of messages sent from EasySMS.com are delivered under 10 seconds.

 Address book

EasySMS.com allows you view your contact that you are having in mobile phone.
You can easily access any contact and message easily.

 Group SMS

You can create a group of upto 10 members by adding them. You can also do group
chat never you want.

 User can give feedback


 Messages for Hindu festivals, Good morning, Good evening etc messages are
already stored in the databases you can select them and send to any of your
friend.
 Set Birthday, Anniversary reminders.

4.3 FUNCTIONING OF PROJECT


 Open the EasySMS.com website Home page
 Mobile number is required as username to login and if it is valid then you can enter
the password and if password is valid your login is successful.

 New user can register by providing valid mobile number.

 After logging in, User can send sms.

 User can create group and do group chats.

 User can view his address book.

 Administrator having all the details of the users that are registered on this site.

 User send future sms,sms in different languages like Hindi ,English,German etc.

 User can also select and send messages stored in the message greetings.

 User can logout by clicking the logout button.


CHAPTER-5
SCOPE OF PROJECT
Mobile phones with SMS(Short Message Service) features are becoming quite popular.SMS
allows users to send brief text messages(up to 140 characters) from their mobile phone
directly to the friend's mobile phone(providing it also has the ability to receive SMS).

A number of sites have come online recently that allow users to compose and send SMS
messages via the Internet to mobile phones located anywhere in the world.Most are free and
/or require registration.

SMS text messaging is the perfect way to mobile enable enterprise information,from your
enterprise information.Mobile enabling your enterprise data makes available
information,from your enterprise database,on to mobile phone using interactive SMS
technology over GSM network.With the new generation of smart cell phones and handheld
devices,mobile users are fast becoming a major part of the web scenario.

Having a mobile website can open your services and products to the millions of the mobile
users being added to the World Wide Web everyday.

Peoples are too busy today, and also money matters today. As we know that most the persons
using net, net is also available in mobiles also so today net become basic requirement of the
people, by sending messages through net people can save both time and money. By using
this project also send same message to multiple persons. So we can say that it is an exiting
and interesting job-"to send messages using internet" by this project.

.
CHAPTER-6

FUNCTIONAL AND NON-FUNCTIONAL REQUIREMENTS


6.1 FUNCTIONAL REQUIREMENTS
 The System must provide following functionalities—
 User easily to send free SMS.
 Keeping records of admission of users.
 Keeping the records of all the messages send by user daily.
 Keeping the daily sell.
 Storing the feedback given by the user.
 Keeping details about the product it is delivered
or not.

6.2 PERFORMANCE REQUIREMENTS


In order to maintain an acceptable speed at maximum number of uploads allowed from a
particular user will be any number of users can access the system at any time. Also
connections to the servers will be based on the criteria of attributes of the user like his
location, and server will be working whole 24X 7 times.

6.3 NON FUNCTIONAL REQUIREMENTS


Following Non-functional requirements will be there in the Insurance on internet:

i). Secure access of confidential data (user’s details).

ii). 24 X 7 availability. 16

iii). Better component design to get better performance at peak time.

iv). Flexible service based architecture will be highly desirable for future extension Non
functional requirements define system properties and constraints It arise through user needs,
because of budget constraints or organizational policies, or due to the external factors such as
safety regulations, privacy registration and so on. Various other Non-functional requirements
are:

1. Security

2. Reliability

3. Maintainability
4. Portability

5. Extensibility

6. Reusability

CHAPTER-7
SYSTEM REQUIREMENT OF SPECIFICATION

7.1FUNCTIONAL DESCRIPTION
System requirements are expressed in a software requirement document. The Software
requirement specification (SRS) is the official statement of what is required of the system
developers. This requirement document includes the requirements definition and the
requirement specification. The software requirement document is not a design document. It
should set out what the system should do without specifying how it should be done. The
requirement set out in this document is complete and consistent.

The software specification document satisfies the following:-

1 It specifies the external system behaviours.

2 It specifies constraints on the implementation.

3 It is easy to change.

4 It serves as reference tool for system maintainers.

5 It record forethought about the life cycle of the system.

6 It characterizes acceptable response to undesired events.

7.2HARDWARE SPECIFICATIONS
Processor : HP Pavilion g6-1213tx

RAM : 4GB 1333 MHZ DDR3

Hard Disk: 500GB

Monitor:15.6”Color Monitor

Key Board:102 keys

7.3SOFTWARE SPECIFICATIONS
Operating System : Window 7
Language: PHP, HTML, CSS, JQUERY

Database: MYSQL console (MySQL Query browser)

Designing: Netbeans

CHAPTER-8
DATA FLOW DIAGRAM
8.1DATA FLOW DIAGRAMS
Data flow diagrams (DFD) was first developed by LARRY CONSTANTINE as way
representing system requirements in a graphical form; this lead to modular design. A DFD
describes what data flow (logical) rather than how they are processed, so it does not depend
on hardware, software, data structure or file organization. It is also known as ‘bubble chart’.

A Data Flow Diagrams is a structured analysis and design tool that can be used for
flowcharting in place of, or in association with, information-oriented and process-oriented
systems flowcharts. A DFD is a network that describes the flow of data and the processes that
change, or transform, data throughout a system. This network is constructed by using a set of
symbols that do not imply a physical implementation. It has the purpose of clarifying system
requirements and identifying major transformations that will become programs in system
design. So it is the starting point of the design phase that functionality decomposes the
requirement specifications down to the lowest level of detail.

The symbols used to prepare DFD do not imply a physical implementation, a DFD can be
considered to an abstract of the logic of an information-oriented or a process-oriented system
flow-chart. For these reasons DFDs are often referred to as logical data flow diagrams. The
four basic symbols used to construct data flow diagrams are shown below:

Process
Transform of incoming data flow(s) to outgoing flow(s).

Data Flow
Movement of data in the system.

Data Store
Data repositories for data that are not moving. It may be as simple as a
buffer or a queue or as sophisticated as a relational database.
External Entity
Sources of destinations outside the specified system boundary.

CHAPTER-9
DATABASE DESIGN
Database design is the process of producing a detailed data model of a database. This logical
data model contains all the needed logical and physical design choices and physical storage
parameters needed to generate a design in a data definition language, which can then be used
to create a database. A fully attributed data model contains detailed attributes for each entity.

9.1 DESIGN PROCESS


The computer system design process is an exercise of specifying how, the system will work.
It is an iterative process, which is based on what the system will be do as shown in the
feasibility report. Mainly, following five parts have been included in the system design
process

9.2 OUTPUT DESIGN


The starting point of the design process is the proper knowledge of system requirements
which will normally be converted in terms of output.

9.3 INPUT DESIGN


Once the output requirements have been finalized, the next step is to find out what data need
to be made available to the system to produce the desired outputs. The basic documents in
which these data are available need to be identified. If necessary, these documents may have
to be revised or new documents may have to be introduced.

A database design is a collection of stored data organized in such a way that the data
requirements are satisfied by the database. The general objective is to make information
access easy, quick, inexpensive and flexible for the user. There are also some specific
objectives like controlled redundancy from failure, privacy, security and performance.

A collection of relative records make up a table. To design and store data to the needed forms
database tables are prepared. Two essential settings for a database are:

Primary key: - The field that is unique for all the record occurrences.

Foreign key: - The field used to set relation between tables. Normalization is a technique
to avoid redundancy in the tables.
CHAPTER-10
TESTING
Software Testing is an empirical investigation conducted to provide stakeholders with
information about the quality of the product or service under test, with respect to the context
in which it is intended to operate. Software Testing also provides an objective, independent
view of the software to allow the business to appreciate and understand the risks at
implementation of the software. Test techniques include, but are not limited to, the process of
executing a program or application with the intent of finding software bugs. It can also be
stated as the process of validating and verifying that a software program/application/product
meets the business and technical requirements that guided its design and development, so that
it works as expected and can be implemented with the same characteristics.

Software Testing, depending on the testing method employed, can be implemented at any
time in the development process, however the most test effort is employed after the
requirements have been defined and coding process has been completed.

10.1 UNIT TESTING


The primary goal of unit testing is to take the smallest piece of testable software in the
application, isolate it from the remainder of the code, and determine whether it behaves
exactly as you expect. Each unit is tested separately before integrating them into modules to
test the interfaces between modules. Unit testing has proven its value in that a large
percentage of defects are identified during its use.

Unit testing is a software verification and validation method where the programmer gains
confidence that individual units of source code are fit for use. A unit is the smallest testable
part of an application. In procedural programming a unit may be an individual program,
function, procedure, etc., while in object-oriented programming, the smallest unit is a class,
which may belong to a base/super class, abstract class or derived/child class.

Ideally, each test case is independent from the others: substitutes like method stubs, mock
objects, fakes and test harnesses can be used to assist testing a module in isolation. Unit tests
are typically written and run by software developers to ensure that code meets its design and
behaves as intended. Its implementation can vary from being very manual (pencil and paper)
to being formalized as part of build automation.

10.2 INTEGRATION TESTING


Integration testing, also known as integration and testing (I&T), is a software development
process which program units are combined and tested as groups in multiple ways. In this
context, a unit is defined as the smallest testable part of an application. Integration testing can
expose problems with the interfaces among program components before trouble occurs in
real-world program execution. Integration testing is a component of Extreme Programming
(XP), a pragmatic method of software development that takes a meticulous approach to
building a product by means of continual testing and revision.

There are two major ways of carrying out an integration test, called the bottom-up method
and the top-down method. Bottom-up integration testing begins with unit testing, followed by
tests of progressively higher-level combinations of units called modules or builds. In top-
down integration testing, the highest-level modules are tested first and progressively lower-
level modules are tested after that. In a comprehensive software development environment,
bottom-up testing is usually done first, followed by top-down testing.

10.3 VALIDATION TESTING


At the validation level, testing focuses on user visible actions and user recognizable output
from the system. Validations testing is said to be successful when software functions in a
manner that can be reasonably expected by the customer. Two types of validation testing

• Alpha testing is simulated or actual operational testing by potential users/customers or an


independent test team at the developers' site. Alpha testing is often employed for off-the-shelf
software as a form of internal acceptance testing, before the software goes to beta testing.

• Beta testing comes after alpha testing. Versions of the software, known as beta version, are
released to a limited audience outside of the programming team. The software is released to
groups of people so that further testing can ensure the product has few faults or bugs.
Sometimes, beta versions are made available to the open public to increase the feedback field
to a maximal number of future users

• Gray box testing Grey box testing is the combination of black box and white box testing.
Intention of this testing is to find out defects related to bad design or bad implementation of
the system.it is used for web application
CHAPTER-11
CODING
11.1 INDEX PAGE
<html>

<head>

<meta charset="UTF-8">

<title></title>

<script src="jquery-1.10.2.min.js"></script>

<script>

$(document).ready(function(){

$("#mobile").on(

blur:function(){

$v=$(this).val();

if($v==null||$v==""){

$("#hid1").html("Mobile number is required");

else{

alert("hello");

$("#loginbuttton").removeAttr("disabled");

$("#hid1").html();

},
keypress:function(e){

//if the letter is not digit then display error and don't type anything

if (e.which !== 8 && e.which !== 0&& (e.which < 48 || e.which > 57)) {

//display error message

$("#errmsg").html("Digits Only").show().fadeOut("slow");

return false;

});

$("#password").blur(function(){

$v=$(this).val();

if($v==null||$v==""){

$("#hid2").html("Password is required");

//$("#loginbutton").attr("disabled", "true");

else{

$("#loginbuttton").removeAttr("disabled");

$("#hid2").html();

});

});

</script>

<style>

#div4{

height:400px;

#img1{
margin-top: 20px;

#hr1{

height:30px;

color:green;

background-color: darkblue;

#div6{

margin:-400px 180px 0 550px;

height:105%;

h1{

color:darkblue;

a{

text-decoration: none;

#mobile,#password{

width:220px;

height:36px;

border:2px solid #c3c5da;;

#loginbutton{

width:120px;

height:35px;

background-color:#0000cc;

border:1px solid #0033cc;


color:white;

#registerbutton{

width:120px;

height:35px;

background-color: #cc0000;

border:1px solid #cc3300;

color:whitesmoke;

#errmsg{

border-color: red;

#hid1,#hid2{

color:red;

</style>

</head>

<body><?php

include 'header.php';

?>

<div id='div4'>

<div id='div5'>

<img src='images/msg.gif' alt='Slider' height='400px' width='500px' id='img2'>

</div>

<div id='div6'>

<div id='div7'>

<div id='div8'>
<h1>Log In to EasySMS</h1>

Problems while logging? <a href=''>Click here</a><br><br>

<form action="validate.php" method="post">

<input id="mobile" name="mobile" type='text' maxlength="10"


placeholder="Mobile Number"/>&nbsp;

<span id="hid1"></span>

<span id="errmsg"></span><br><br>

<input id="password" name="password" type='password'


placeholder="******" />&nbsp;

<span id="hid2"></span> <br><br>

<a href='forgotPassword.php'>Forgot password or not received


yet?</a><br><br>

<input id="loginbutton" type="submit" value="Login">

</form>

<span style="color: red"><?php

$logoutmsg=$_GET['msg'];

echo $logoutmsg;

?></span>

<br><br>

New User <br><a href="register.php"><input id="registerbutton"


type="button" value="Register Here"></a>

</div>

</div>

</div>

</div>

<?php

include 'footer.php';

?>

</body>
</html>

11.2REGISTER HERE
<html>

<head>

<meta charset="UTF-8">

<title></title>

<script src="jquery-1.10.2.min.js"></script>

<script>

$(document).ready(function(){

$("#name").blur(function(){

var name=$(this).val();

var name_regex = /^[a-zA-Z]+$/;

if(name==""){

$("#hid1").html("Name is required");

else if(!name.match(name_regex)){

$("#submit").attr("disabled", "true");

$("#hid1").html("Name can consists of


alphabet only");

else{

$("#submit").removeAttr("disabled");

$("#hid1").html("");

});

$("#email").blur(function(){

var email=$(this).val();
var email_regex = /^[a-zA-Z]+[a-zA-Z0-9\.\_]+[a-zA-
Z0-9]+\@gmail.com$/;

if(email==""){

$("#hid2").html("Gmail ID is required");

else if(!email.match(email_regex)){

$("#submit").attr("disabled", "true");

$("#hid2").html("Enter a valid email


address");

else{

$("#submit").removeAttr("disabled");

$("#hid2").html("");

});

$("#reemail").blur(function(){

var reemail=$(this).val();

var email=$("#email").val();

if(reemail==""){

$("#hid3").html("Re-enter Gmail ID");

else if(email!=reemail){

$("#submit").attr("disabled", "true");

$("#hid3").html("IDs do not match");

else{

$("#submit").removeAttr("disabled");

$("#hid3").html("");
}

});

$("#dob").blur(function(){

var dob=$(this).val();

if(dob==""){

$("#hid5").html("DOB is required");

});

$("#mobile").keypress(function(e){

//if the letter is not digit then display error and don't type anything

if (e.which !== 8 && e.which !== 0&& (e.which < 48 || e.which > 57)) {

//display error message

$("#errmsg").html("Digits Only").show().fadeOut("slow");

return false;

});

});

</script>

<style>

#div4{

height:400px;

#img1{

margin-top: 20px;

#hr1{

height:30px;
color:green;

background-color: darkblue;

#div6{

margin:-400px 180px 0 550px;

height:105%;

width: 451px;

h1{

color:darkblue;

a{

text-decoration: none;

#verifyregister

margin- left: 35px;

margin-top: 8px;

#name,#dob,#email,#reemail,#city,#mobile,#code

width: 248px;

margin- left: 71px;

background-color:#f2f2f2;

border: 1px solid #dadada;

height:36px;

}
#submit

background: #da5656;

border: 0 none;

border-bottom: 3px solid #d33636;

color: #fff;

font-size: 13px;

cursor: pointer;

text-align: center;

width:150px;

height:40px;

#gender

width: 248px;

margin- left: 71px;

} </style>

</head>

<body>

<?php

include 'header.php';

?>

<div id='div4'>

<div id='div5'>

<img src='images/i1.jpg' alt='Slider' height='400px' width='500px' />

</div>

<div id='div6'>
<div id='div7'>

<h1>New on EasySMS</h1><br />

Register now and get started.

<form action="register.php" method="post">

<table cellspacing="5px" style="font- family: Calibri; font-size: medium">

<tr>

<td >Gender</td>

<td><div id="gender"><input name="gender" type="radio" value="male"


checked/>Male&nbsp;&nbsp;&nbsp;&nbsp;

<input name="gender" type="radio" value="female" />Female</div></td>

</tr>

<tr>

<td>Name</td>

<td>

<input id="name" type="text" placeholder="Enter your name here"


name="name" required/></td>

</tr>

<tr>

<td></td>

<td id="hid1" align="right" style="color:red;"></td>

</tr>

<tr>

<td>Date of Birth</td>

<td><input id="dob" input type="date" name="dob" required max="2009-12-01"


min="1930-01-01"/></td>

</tr>

<tr><td></td>

<td id="hid5" align="right" style="color:red;"></td>


</tr>

<tr>

<td>Gmail ID</td>

<td><input id="email" type="text" placeholder="Enter your Gmail ID"


name="email" required/></td>

</tr>

<tr>

<td></td>

<td id="hid2" align="right" style="color:red;"></td>

</tr>

<tr>

<td>Confirm ID</td>

<td><input id="reemail" type="text" placeholder="Confirm your ID"


required/></td>

</tr>

<tr>

<td></td>

<td id="hid3" align="right" style="color:red;"></td>

</tr>

<tr>

<td>City</td>

<td><select id="city">

<?php include_once("India_city.html");?>

</select></td>

</tr>

<tr><td></td><td></td></tr>

<tr>
<td>Mobile No.<br /><font color="GrayText" size="2px">(Login
ID)</font></td>

<td><input id="mobile" type="text" maxlength="10" placeholder="Mobile


Number" /> </td>

</tr>

<tr>

<td></td>

<td id="hid4" align="right" style="color:red;"></td>

</tr>

<tr>

<td>Enter the code shown<br /><font color="GrayText" size="2px">(Letters are


not case sensitive)</font></td>

<td><input id="code" type="text" placeholder="Enter the code here" /> </td>

</tr>

<tr>

<td colspan="2"><input type=checkbox

style="height: 23px; width: 25px; background-color: #CCCCCC;" required/>I


agree to the EasySMS.com privacy policy & terms and conditions.</td>

</tr>

</table>

<input id="submit" type="submit" value="Verify & Register" disabled/>

</form>

</div>

</div>

</div>

</div>

</body>

</html>

11.3 AFTER LOGGING IN HOME PAGE


<html>

<head>

<title>Home</title>

<script src="jquery-1.10.2.min.js"></script>

<script>

$(document).ready(function() {

$("#add_c").click(function(){

});

$("search").keyup(function(){

$ph = $(this).val();

if($ph!=null || $ph!=""){

$.ajax({

type:"POST",

data:"ph="+$ph,

url:find_contacts.php,

success(function(msg){

})

});

});

}); </script>

<style>

#cd1{

//border:2px solid black;

margin: 10px 0 50px -770px;

width:300px;

height:350px;
background-color:#eaeaea;

#div10{

width:85%;

margin- left: -25px;

#search{

float:left;

width:260px;

height:40px;

padding: 10px;

border: 1px solid black;

#search_img{

background-color:black;

//border: 1px solid black;

#add_c{

background-color: crimson;

border:1px solid red;

color:whitesmoke;

width:200px;

float:left;

height: 40px;

border-radius: 5px;

font-size: 25px;

margin- left: 6px;


}

#add_c:hover{

background-color: red;

#search_table{

background-color: white;

//float:left;

margin-right: 20px;

overflow-y: scroll;

overflow-x: scroll;

#home{

background-color: purple;

.scroll tbody{

height:230px;

display: inline-block;

width:270px;

overflow: auto;

//overflow-x: scroll;

</style>

</head>

<body>

<html> <head>

<meta charset="UTF-8">

<style>
#div1{

margin- left: 100px;

width:85%;

#div2{

height:140px;

#div3{

margin:-100px 100px 0 180px;

} #div4{

height:400px;

#img1{ margin-top: 20px;

#hr1{

height:42px;

color:green;

background-color: darkblue;

border:1px solid darkblue;

#div6{

margin:-400px 180px 0 550px;

h1{

text-align:center;

color:darkblue;

}
a{

text-decoration: none;

#c_table td{

text-align: center;

font-weight: 700;

font-family: arial;

#c_table td a{

color:white;

#c_table{

width:90%;

height:100%;

#c_table td:hover{

background-color: green;

#loc_div{

background-color:limegreen;

width:260px;

height:60px;

margin:20px 10px 50px 800px;

#loc_mob{

padding: 10px;
margin:10px 0 10px 0;

</style>

</head>

<body>

<div id='div1'>

<div id='div2'>

<img src='images/logo.jpg' alt='Logo' height='100px' width='150px;' id='img1'/>

<div id='div3'>

<form action="locate.php">

<div id="loc_div"><center>

<table>

<tr>

<td> <input type="text" id="loc_mob" name="locate"


placeholder="Find Mobile Location" maxlength="10"/></td>

<td> <input type="image" src="images/search2.png" width="40px"


height="35px"></td>

</tr>

</table>

</center>

</div>

</form>

</div>

</div>

<div id='hr1'><center>

<table id="c_table">
<tr>

<td id="home">

<a href="home.php">Home</a>

</td>

<td id="send_sms">

<a href="sendsms.php"> SEND SMS</a>

</td>

<td id="language_sms">

<a href="language_sms.php">LANGUAGE SMS</a>

</td>

<td id="group_sms">

<a href="group_sms.php">GROUP SMS</a>

</td>

<td id="sent_sms">

<a href="sent_sms.php">SENT SMS</a>

</td>

<td id="address_book">

<a href="address_book.php"> ADDRESS BOOK</a>

</td>

<td id="sms_greetings">

<a href="sms_greetings.php">SMS GREETINGS</a>

</td>

<td id="future_sms">

<a href="future_sms.php">FUTURE SMS</a>

</td>

</tr>

</table>
</center>

</div>

</div>

</body>

</html> <center>

<div id="div10">

<div id="cd1">

<input type="search" id="search" placeholder="Search contacts" />

<img src="images/search2.png" width="40px" height="40px" id="search_img"/>

<table width="270px" height="240px" border="0" id="search_table" class="scroll">

<tbody> <tr>

<td>9634568628 </td>

<td>Chhutki </td>

</tr> <tr>

<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;</td>

</tr>

</tbody>

</table><br/>

<a href="address_book.php"><input type="button" value="+ Add Contact"


id="add_c"></a>

</div>

<style>

#div9{

text-align: right;
}

</style>

<hr id="hr2"><div id="div9">© Copyright @ 2015 EasySMS.com.

</div</div>

</center> </body></html>

CHAPTER-12
SCREEN SHOTS

Figure 12.1: Index Page


Figure 12.2: Register Page

Figure 12.3: After logging in,User’s Home Page


Figure 12.4: When you click on send SMS

CHAPTER-13
CONCLUSION AND FUTURE SCOPE

13.1CONCLUSION
This is to conclude that the project that I undertook was worked upon with a sincere effort.
Most of the requirements have been fulfilled up to the mark and the requirements which have
been remaining, can be completed with a short extension.

13.2FUTURE SCOPE OF PROJECT


The project made here is just to ensure that this product could be valid in today real
challenging world. Here all the facilities are made and tested.

Currently the system works for limited number of administrators to work. In near future it
will be extended for many types of insurance policies so that efficiency can be improved.
CHAPTER-14
Bibliography

 www.google.com
 www.scribd.com
 http://www.w3schools.com/
 https://www.adamkhoury.com/ebook/Sprite-Programming-Mastery
 Head First Php and Mysql Book
APPENDIX

Potrebbero piacerti anche