asiahotweb.com

Welcome To Asiahotweb Forum
HomeHome  ­PortalPortal  ­CalendarCalendar  ­FAQFAQ  ­SearchSearch  ­MemberlistMemberlist  ­UsergroupsUsergroups  ­RegisterRegister  ­Log inLog in  
Search
 
 

Display results as :
 
Rechercher Advanced Search
Forum
Poll
Latest topics
» How to promote your blog
Thu Sep 17, 2009 9:07 am by Anonymous

» Advertise with us
Sun Jul 05, 2009 12:45 pm by Admin

» how to create news letter
Sun Jul 05, 2009 7:56 am by Admin

» How to create a chat room
Sun Jul 05, 2009 7:53 am by Admin

» How to make a blog
Sun Jul 05, 2009 7:48 am by Admin

» How to Make Money Online
Sun Jul 05, 2009 7:45 am by Admin

» How to create a shopping chart
Sun Jul 05, 2009 7:31 am by Admin

» How to Create a Hit Counter in HTML
Sat Jul 04, 2009 2:11 pm by Anonymous

» How to Make a Home Video
Tue Jun 30, 2009 3:31 pm by Admin

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
brothersoft.com
Who is Online ?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 4 on Tue Jul 14, 2009 8:04 am
November 2009
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
30      
CalendarCalendar
Post new topic   This topic is locked: you cannot edit posts or make replies.Share | 
 

 How to create a chat room

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Posts: 18
Join date: 2009-04-10

PostSubject: How to create a chat room   Sun Jul 05, 2009 7:53 am

Here you will get instructions on how to create and run a chat engine on your website, using a server-side programming language. This article assumes you have substantial technological knowledge.

1. Install a server-side language such as PHP or ASP if you need to.

2. Create a database table with fields to store a nickname, time and message.

3. Create a user interface with 2 text boxes - one for entering a chat message and other for displaying the chat log.

4. Create the client-side script using Javascript and AJAX techniques. The script should do the following things:

* Use AJAX to transfer chat messages one wishes to send to the server.
* Periodically check the server for new messages and add them to the chat window. It needs to send the time of the last message received.

5. Create the server-side script. It should do as follows:

* Add incoming messages to the database table with the nickname of the person that said it and the time stamp.
* Return new messages it has received after the time specified in the aforementioned AJAX request.


lol!

visit us at www.asiahotweb.com

or email us at mozzyace@gmail.com to enquiry more
Back to top Go down
View user profile http://asiahotweb.forumotion.net
 

How to create a chat room

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You can reply to topics in this forum
asiahotweb.com :: How to create a chat room-
Post new topic   This topic is locked: you cannot edit posts or make replies.