Professional Documents
Culture Documents
Online Chatting System
Online Chatting System
Project Report On
Submitted By
Daud Sayyed
Vishal Ugale
Moin Mulla
Akshay Wade
Shiburaj Pappu
Bachelor of Engineering
B.E. (Semester VIII), Computer [2013 - 2014]
from
Affiliated to
University of Mumbai
Online Chatting System
ABSTRACT
This project is developed to make an online chatting system. This system name is AppyChat.
This System may address point-to-point communications as well as multicast group message
communications from one sender to many receivers.X
Our system allow the group of peoples to message (or chat) with each other which is great idea
to have fun with friends when they are not closer
Contents
Introduction …………………………………………………………………………………1
Objectives……………………………………………………………………………………1
Technologies Used..............…………………………………………………………………2
Conclusion…………………………………………………………………………………..11
References
Project Hosting
Online Chatting System
1. Introduction
Online chat may refer to any kind of communication over the Internet that offers a real- time
transmission of text messages from sender to receiver. Chat messages are generally short in
order to enable other participants to respond quickly.X
Thereby, a feeling similar to a spoken conversation is created, which distinguishes chatting from
other text-based online communication forms such as Internet forums and email.X
Online chat may address point-to-point communications as well as multicast communications from
one sender to many receivers and voice and video chat, or may be a feature of a web conferencing
service. Online chat in a less stringent definition may be primarily any direct text-based or video-
based (webcams), one-on-one chat or one-to-many group chat (formally also known as
synchronous conferencing), using tools such as instant messengers, HYPERLINK
"http://en.wikipedia.org/wiki/Internet_Relay_Chat" Internet Relay Chat (IRC), talkers and possibly
MUDs.X
On the Internet, chatting is talking to other people who are using the Internet at the same time
you are. Usually, this "talking" is the exchange of typed-in messages requiring one site as the
repository for the messages (or "chat site") and a group of users who take part from anywhere
on the Internet. In some cases, a private chat can be arranged between two parties who meet
initially in a group chat. Chats can be ongoing or scheduled for a particular time and duration.
Most chats are focused on a particular topic of interest and some involve guest experts or
famous people who "talk" to anyone joining the chat. (Transcripts of a chat can be archived for
later reference.)
Chats are conducted on online services (especially America Online), by bulletin board services, and
by Web sites. Several Web sites, notably Talk City, exist solely for the purpose of conducting chats .A
chat can also be conducted using sound or sound and video, assuming you have the bandwidth
access and the appropriate programming.
2. Objectives
The main objective of this project is to allow each and every person can get connect with each
other. Some of the other objectives are listed below:-
3. Technologies Used
Languages Used-
For Developing this project, following web technologies are used:-
Software Used-
Software’s used for implementing web application on server are listed below:-
Coding Section
Login Page-
This page is made with help of Html & css3.In this page, User verification is done. If the user is
a verified one it take user to index.php otherwise redirect to login.php only. Code which is used
to make this page is given below:-
<?php
include_once('config.php');
// Check, if username session is NOT set then this page will jump to login page if
(isset($_SESSION['username'])) {
header('Location: index.php');
?>
<head>
<meta charset="utf-8">
</head>
Online Chatting System
<body>
<div class="row">
<div class="row">
<br/>
<div class="row">
</fieldset>
</form>
</div>
</body>
</html>
<?php
include_once('config.php');
$link = mysql_connect(DB_HOST,DB_USER,DB_PASS);
if (mysql_num_rows($login) == 1) {
$_SESSION['username'] = $_POST['username'];
header('Location: index.php');
else {
header('Location: login.php');
}
mysql_close($link);
?>
Online Chatting System
Output-Login.php
<head>
<meta charset="utf-8">
</head>
<body>
<div class="row">
<div class="row">
<br/>
<div class="row">
</fieldset>
</form>
</div>
</body>
</html>
Online Chatting System
<?php include_once('config.php');
if($data){
header('Location: login.php');
}else{
echo "Error";
mysql_close($link);
?>
Output-reg.php
III. Index.php
This page allow user to chat with other group persons. This page is made using several web
technologies which are explained below:-
<?php include_once('config.php');
// Check, if username session is NOT set then this page will jump to login page if (!
isset($_SESSION['username'])) {
header('Location: login.php');
if(isset($_POST['submit']))
{
$con = mysql_connect("localhost","root","");
Online Chatting System
if (!$con)
?>
<head>
})
})
//alert($text);
});
event.preventDefault();
Online Chatting System
//alert($text);
//alert(event.which);
});
j('.refresh').css({color:"green"});
});
</script>
.refresh {
border: 1px solid #3366FF; border-left: 4px solid #3366FF; color: green;
font-family: tahoma; font-size: 12px; height: 225px; overflow: auto; width: 415px;
padding:10px;
background-color:#FFFFFF;
#post_button{
#textb{
border: 1px solid #3366FF; border-left: 4px solid #3366FF; width: 320px;
#texta{
border: 1px solid #3366FF; border-left: 4px solid #3366FF; width: 410px;
Online Chatting System
p{
span{
</head>
<body>
<div id="wrap">
mysql_select_db("chat", $con);
while($row = mysql_fetch_array($result))
mysql_close($con); ?>
</div>
</div>
</body>
</html>
Online Chatting System
<?php
mysql_select_db("chat", $con);
while($row = mysql_fetch_array($result))
mysql_close($con);
?>
Output-index.php
Online Chatting System
5. Conclusion:-
Although, this project is made for Small Scale communication but if we implement new
technologies & features in this system, it will be able to compete with other online chatting
websites or application.
Reference:-
http://code.tutsplus.com/tutorials/how-to-create-a-simple-web-based-chat-application--net-5931
http://tutorialzine.com/2010/10/ajax-web-chat-php-mysql/
http://www.script-tutorials.com/how-to-easily-make-a-php-chat-application/
http://forum.codecall.net/topic/58937-simple-chat-system-using-php-mysql-and-ajax/
Project Hosting
The project is hosted at Google Code. The complete source code along with the manual to
operate the project and supplementary files are uploaded.
QR CODE: