MySQL
  Home arrow MySQL arrow Page 6 - A MySQL Driven Chat Script
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MYSQL

A MySQL Driven Chat Script
By: Tim Pabst
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 200
    2001-12-25

    Table of Contents:
  • A MySQL Driven Chat Script
  • Creating the database
  • The chat script explained
  • The chat script explained (contd.)
  • The chat script explained (contd.)
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    A MySQL Driven Chat Script - Conclusion


    (Page 6 of 6 )

    Creating and promoting visitor interaction on your site doesn’t have to take a lot of time or cost a lot of money! The chat script we have just created can act as a great base onto which you can build a complete web based chat application. Here are some ideas to improve the performance of our chat script:
    • Show a list of the people currently using the chat. Add a logout button, another frame, and another table to the database. When they login, add a record of their name to the new table. When they logout, remove their name from the table. Inside of the new frame, simply use a SELECT query to list all of the people currently using the chat script. Add a <meta> tag to the frame to make it refresh every 30 seconds.
    • Allow users to private message each other.
    • Add more icons-icons and allow visitors to send images as part of their message (just get the URL of the image from them).
    • Let the visitors create groups. Each group can contain more than one channel, which is an instance of a chat session.
    • Whenever a URL is typed into the text box (such as http://www.devarticles.com), make the top frame automatically display it as a hyperlink.
    Also, be sure to take a look at some of the links below if you’re after more information on creating an online chatting application. If you want to get serious and learn more about PHP or MySQL, I would recommend the books shown below.

    Until next time, I hope you enjoy playing around with the chat application. Remember you can download the SQL script, source code and images by clicking on the “supporting material” link below.
    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · not work
       · The code does not work at all in its present form.A number of bugs are there. For...
       · this is i have coppied and tested . but it is not working right. pls check and reply...
       · The code is absolutely rubbish. It does not work. A dirty joke by the writter
       · We're sorry the code doesn't work for you. I think you will find that our more...
     

    MYSQL ARTICLES

    - MySQL and BLOBs
    - Two Lessons in ASP and MySQL
    - Lord Of The Strings Part 2
    - Lord Of The Strings Part 1
    - Importing Data into MySQL with Navicat
    - Building a Sustainable Web Site
    - Creating An Online Photo Album with PHP and ...
    - Creating An Online Photo Album with PHP and ...
    - PhpED 3.2 – More Features Than You Can Poke ...
    - Creating An Online Photo Album with PHP and ...
    - Creating An Online Photo Album with PHP and ...
    - Security and Sessions in PHP
    - Setup Your Personal Reminder System Using PHP
    - Create a IP-Country Database Using PERL and ...
    - Developing a Dynamic Document Search in PHP ...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT