0% found this document useful (0 votes)
125 views

Mail Server

PHP is a widely used scripting language originally designed for web development. It can generate dynamic web page content by being embedded into HTML files and running on a web server. PHP code is executed by the PHP runtime on the server and outputs HTML. It is free to use and can run on most operating systems and web servers. JavaScript is an object-oriented scripting language commonly used to add interactivity to websites. It is embedded directly into HTML and runs client-side in web browsers. JavaScript uses prototype-based inheritance and first-class functions. It is primarily used to interact with HTML documents and handle user input.

Uploaded by

Sasti Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
125 views

Mail Server

PHP is a widely used scripting language originally designed for web development. It can generate dynamic web page content by being embedded into HTML files and running on a web server. PHP code is executed by the PHP runtime on the server and outputs HTML. It is free to use and can run on most operating systems and web servers. JavaScript is an object-oriented scripting language commonly used to add interactivity to websites. It is embedded directly into HTML and runs client-side in web browsers. JavaScript uses prototype-based inheritance and first-class functions. It is primarily used to interact with HTML documents and handle user input.

Uploaded by

Sasti Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

PHP

PHP: Hypertext Preprocessor, is a widely used, general-purpose scripting language


that was originally designed for web development, to produce dynamic web pages.
It can be embedded into HTML and generally runs on a web server, which needs to
be configured to process PHP code and create web page content from it. It can be
deployed on most web servers and on almost every operating system and platform
free of charge.

PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous
development ever since. The main implementation of PHP is now produced by The
PHP Group and serves as the de facto standard for PHP as there is no formal
specification.PHP is free software released under the PHP License, which is
incompatible with the GNU General Public License (GPL) because of restrictions on
the use of the term PHP

PHP has evolved to include a command line interface capability and can also be
used in standalone graphical applications.
USAGE
PHP is a general-purpose scripting language that is especially suited for web
development. PHP generally runs on a web server. Any PHP code in a requested file
is executed by the PHP runtime, usually to create dynamic web page content. 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. Since 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 now focuses mainly on
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' JavaServer 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, Symfony, CodeIgniter, and Zend Framework, offering features
similar to other web application frameworks.

About HTML

HTML, which stands for Hyper Text Markup Language, is the predominant
markup language for web pages. It provides a means to create structured documents
by denoting structural semantics for text such as headings, paragraphs, lists etc as
well as for links, quotes, and other items. It allows images and objects to be
embedded and can be used to create interactive forms. It is written in the form of
HTML elements consisting of "tags" surrounded by angle brackets within the web
page content. It can include or can load scripts in languages such as JavaScript
which affect the behavior of HTML processors like Web browsers; and Cascading
Style Sheets (CSS) to define the appearance and layout of text and other material.
The W3C, maintainer of both HTML and CSS standards, encourages the use of CSS
over explicit presentational markup.

Hyper Text Markup Language(HTML) is the encoding scheme used to create and
format a web document. A user need not be an expert programmer to make use of
HTML for creating hypertext documents that can be put on the internet.

Most graphical e-mail clients allow the use of a subset of HTML (often ill-defined)
to provide formatting and semantic markup not available with plain text. This may
include typographic information like coloured headings, emphasized and quoted
text, inline images and diagrams. Many such clients include both a GUI editor for
composing HTML e-mail messages and a rendering engine for displaying them. Use
of HTML in e-mail is controversial because of compatibility issues, because it can
help disguise phishing attacks, because it can confuse spam filters and because the
message size is larger than plain text.

NAMING CONVENTIONS
The most common filename extension for files containing HTML is .html. A
common abbreviation of this is .htm, which originated because some early operating
systems and file systems, such as DOS and FAT, limited file extensions to three
letters.

HTML APPLICATION
An HTML Application is a Microsoft Windows application that uses HTML and
Dynamic HTML in a browser to provide the application's graphical interface. A
regular HTML file is confined to the security model of the web browser,
communicating only to web servers and manipulating only webpage objects and site
cookies. An HTA runs as a fully trusted application and therefore has more
privileges, like creation/editing/removal of files and Windows Registry entries.
Because they operate outside the browser's security model, HTAs cannot be
executed via HTTP, but must be downloaded (just like an EXE file) and executed
from local file system

ABOUT JAVASCRIPT
JavaScript is an object-oriented scripting language used to enable programmatic
access to objects within both the client application and other applications. It is
primarily used in the form of client-side JavaScript, implemented as an integrated
component of the web browser, allowing the development of enhanced user
interfaces and dynamic websites. JavaScript is a dialect of the ECMAScript standard
and is characterized as a dynamic, weakly typed, prototype-based language with
first-class functions. JavaScript was influenced by many languages and was
designed to look like Java, but to be easier for non-programmers to work with.

PROTOTYPE-BASED
JavaScript uses prototypes instead of classes for inheritance. It is possible to
simulate many class-based features with prototypes in JavaScript.

Functions double as object constructors along with their typical role. Prefixing a
function call with new creates a new object and calls that function with its local this
keyword bound to that object for that invocation. The constructor's prototype
property determines the object used for the new object's internal prototype.
JavaScript's built-in constructors, such as Array, also have prototypes that can be
modified.

Unlike many object-oriented languages, there is no distinction between a function


definition and a method definition. Rather, the distinction occurs during function
calling; a function can be called as a method. When a function is called as a method
of an object, the function's local this keyword is bound to that object for that
invocation.

USAGE
The primary use of JavaScript is to write functions that are embedded in or included
from HTML pages and interact with the Document Object Model (DOM) of the
page.

Because JavaScript code can run locally in a user's browser (rather than on a remote
server) it can respond to user actions quickly, making an application feel more
responsive. Furthermore, JavaScript code can detect user actions which HTML
alone cannot, such as individual keystrokes. Applications such as Gmail take
advantage of this: much of the user-interface logic is written in JavaScript, and
JavaScript dispatches requests for information (such as the content of an e-mail
message) to the server. The wider trend of Ajax programming similarly exploits this
strength.

A JavaScript engine (also known as JavaScript interpreter or JavaScript


implementation) is an interpreter that interprets JavaScript source code and executes
the script accordingly. The first JavaScript engine was created by Brendan Eich at
Netscape Communications Corporation, for the Netscape Navigator web browser. A
web browser is by far the most common host environment for JavaScript. Web
browsers typically use the public API to create "host objects" responsible for
reflecting the DOM into JavaScript.

Requirements-:
Hardware requirements
Number Description

1 PC with 20 GB Hard
disk
2 PC with 256 MB
RAM
3 PC with Pentium 1
and Above

Software requirements
Number Description Type

1 Operating Windows XP/Windows


System
2 Language PHP
3 Server side PHP script
Script
4 Client side Java script,Html
Script
5 Server WAMP 5.0
6 Database MySQL
7 IDE Text pad
8 Designing XARA,Fireworks,Dreamweaver,Paintbrush
Tools
9 Browser Internet Explorer/Mozilla etc.

Manpower requirements
3 persons should be able to complete this project in 6 weeks

DAILY DIARY
Name of the Trainee-: Satya Prakash Arora College-:I.P.S .College of Tech & Mgmt.

Industry/Work place-:Ducat Training Institute Week No-: 6 weeks

Department/Section-: Information Technology Date-:15-10-2010


---------------------------------------------------------------------------------------------------------------------Dates
Brief of observations made, work done, problem/project undertaken, discussion held,
literature-consulted etc.
---------------------------------------------------------------------------------------------------------------------

Week 1: We have started their training program, in the first week we have learnt the basics of software
engineering like various phase of system development life cycle different model for software
development, their requirement, what the roll of system analyst in software Industries.
Week 2, 3: Our technology Classes have been started. In which we had learnt various concept related to
PHP language we had also develop some small program related to technology, and we had also learnt
how to use Internet to groom our knowledge.
Week 4: Project has been assigned to our group and there were one team leader in group and I was that,
now the first important phase of our project was the understanding of the project, what we had to
develop. So for this we had a meeting with the person of the project organization and he had described
the project then our trainer had explained how to start work on the project. Then we had also studied the
other management system project. After completion of the analysis part we had started designing of the
project for this first we had chosen the model for development. we had choose spiral model for the
project development the we had developed a Data Flow Diagram. To understand the flow of data.
Week 5: Then we had distributed our work between the members and started the designing the form and
started the coding.
Week 6:After completion of the whole code we had assembled the various module of the program. and
then we had tested the whole system for correct output for this we had used two methods of testing
Black Box testing and White Box Testing, and after that we had removed some errors which were
occurring during testing.

--------------------------------------------------------------------------------------------------------------------
Signature of Supervisor Signature of Trainee Signature of Official In-charge for
(TPO/Faculty) Training in Industry

Flow Chart

Login

No
If correct

Yes

User home

Logout
E-R Diagram
Tables
1. registration

name
nationality
lastname

address

registration state
country

phoneno.
state
city
2.login

password squestion
userid

login

theme

answer

3 drafts userid
message senderid

subject drafts
fcontent

fsize
fname
ftype
4.outbox

senderid subject
userid

message outbox fname

fsize
ftype fcontent

5 . themes tname

tname
6. trash

userid senderid
subject

ftype trash message

fname
fcontent
fsize

senderid subject
7. composemail
userid

composemail fcontent
message

fname fsize

ftype
Data Flow Diagram

personal info.
Process
registration
Registration to store
Table of
data
Database

userid &password

Login table of
database

Verify
Valid Userhome
Login by login
table

Inbox Project
database
Sent items

Composemail

Trash

Drafts
Change password

Settings

Themes

Logout

You might also like