Open Source Resources for Web Application Developers

Shopify - Online Store Builder
Follow Us on Social Sites
Subscribe RSS Subscribe Newsletter Like us on Facebook Follow us on Twitter Follow us on Google+
  • Home
  • News
  • Plugins
  • Design
  • Others
  • Books
  • About
07 Aug

Web-based Chat Application with PHP and jQuery

  • Chat, License Free
  • Leave a Comment

Nettus has published a tutorial of “How to Create A Simple Web-based Chat Application“. In the tutorial we will be creating a simple web-based chat application with PHP and jQuery. This sort of utility would be perfect for a live support system for your website.

The chat application includes a login and logout system, AJAX-style features, and will also offer support for multiple users. Also, you can work off this and build a multiple chat rooms, add an administrative backend, add emoticons, etc…

jQuery Chat

Requirements: jQuery Framework
Demo: http://net.tutsplus.com/tutorials/javascript-ajax/how-to-create-a-simple…
License: License Free

Share
Tweet
Sponsors
subscribe to our newsletter - weekly free resouces for web developers
follow us on social sites - rss, facebook, google+, Twitter
Subscribe RSS Like us on Facebook Follow us on Twitter Follow us on Google+
Related Resources
Chat Room v2 with PHP, jQuery, and a Text File

Chat Room v2 with PHP, jQuery, and a Text File

Best 5 Sets of Emoticons Download for Free

Best 5 Sets of Emoticons Download for Free

How to Install & Configure Magento in Easy Steps

How to Install & Configure Magento in Easy Steps

72 Free Emoticons & Simlies Icons for Chat Applications

72 Free Emoticons & Simlies Icons for Chat Applications

Gmail / Facebook Style Chat Application with jQuery

Gmail / Facebook Style Chat Application with jQuery

Highly Customizable Multi-User Chat Client in Javascript

Highly Customizable Multi-User Chat Client in Javascript

Comments
  • Dorac

    Well done! I like this very much! I wouldn’t be using it any time soon, but it is great to know where an easy to use one is :D THUMBSUP!

  • http://fedmich.com/life fedmich

    glad that its built using jQuery. :)

  • http://www.bulkagro.com/ jatropha

    good using of j-query

    thanks for this info

    thanks

  • Szeim

    Hi!

    You don’t check the length of $_POST['name'].
    An attacker can inject into the session any type of large content. (the size depends on post_max_size constant in php.ini)

    So the attacker can take down your site with a nice dos:

    while (true) {
    start_a_new_session (eg. delete cookies)
    post_a_large_content
    }

    Behalf the line

    $_SESSION['name'] = stripslashes(htmlspecialchars($_POST['name']));

    write eg.

    if (strlen($_POST['name']) < 100) {
    $_SESSION['name'] = stripslashes( htmlspecialchars( $_POST['name']));
    }else{
    die(’bad luck’);
    }

    or something similar.

  • http://roffle.us/ Kevin

    Szeim,

    Agreed, but instead of…
    if (strlen($_POST[’name’]) < 100) {

    It should be…
    if($_POST['name'] != “” && strlen($_POST['name']) < 100){

    This way we can at least make sure that some sort of name is applied. If $_POST['name'] != “” isn’t included, anyone can login to the chat without a name.

  • http://giantsquidstudios.com Z

    Freakin awesome. thanks.

Open Source Resources for You

What we need is a list of the top quality resources, so that we can spend more time on our web development. WebAppers only picks the top quality web development resources for you.

© Copyright 2012 WebAppers | About | Archives | Privacy Policy | Advertise | Contact

Sponsors
Advertise Here
Search
By Keywords
30 Days / All Time
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Professional Business Cards Made By Designers
  • Best Free Chrome Extensions for Web Developers
  • All of the Best Free WordPress Themes You Need
  • How to Create a Web App Admin User Interface
  • Nice List of Open Source Fish Eye Menu
  • Best Web Admin Templates
  • 25 Useful Blogs for Web Design & Development
  • Simple Javascript Progress Bar with CSS
  • 10 Useful & Quality Design Resources
  • Free Web Application Icons
  • How to Create High-Performance Code
  • Easy to Use, Drag & Drop Bootstrap Interface Builder
  • Tiny Responsive jQuery Slider without Fancy Effects
  • How to Create Realtime Multi-player Games in HTML5
  • Create an Amazon-like Navigation Menu with jQuery
  • A True Responsive jQuery Lightbox Plugin for Free
  • Super Smooth CSS Transitions for jQuery
  • Pretty Neat jQuery Mobile Theme Based on Flat UI
  • How to Use Web Workers for Image Manipulation
  • How to Make FullScreen Page Transitions with CSS
Sponsors
Plugins
  • Advertisement15
  • Calendar47
  • Capture19
  • Charts55
  • Chat22
  • Demo Tour16
  • Gallery121
  • Maps30
  • Menu87
  • Polls9
  • Popup49
  • Tooltips42
  • Upload33
  • Video18
Desgin
  • Brushes11
  • Buttons25
  • Color Schemes24
  • Fonts47
  • Forms112
  • Icons108
  • Patterns24
  • PS Tutorials15
  • Stock Photos21
  • Tables25
Others
  • Announcement103
  • Best Collections6
  • Code55
  • eCommerce24
  • Framework215
  • Hosting13
  • Information240
  • Inspiration32
  • Legal Documents10
  • Reviews8
  • Security13
  • Social28
  • Sound16
  • Stats39
  • Tools293
  • Webmail14
Licesnes
  • BSD License67
  • CC License123
  • GPL License224
  • LGPL License40
  • License Free739
  • MIT License410
Sponsors
Advertise Here
Partners
MaxCDN