Chat Application using php and ajax