Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
A Simple Javascript Chat Script ... or PHP
Old 01-03-2006, 08:07 PM A Simple Javascript Chat Script ... or PHP
MightyMaster's Avatar
Ultra Talker

Posts: 401
Location: Appleton, WI
Trades: 0
I am looking for a simple javascript or php script that allows chatting. Can't use SQL so if you know of a flatfile php that would be great. Must be easy to configure.

Anyone have any ideas.
MightyMaster is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-04-2006, 07:17 AM
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
Ive been playing with the tutorial and code from http://www.dynamicajax.com/fr/AJAX_D...1_290_291.html.

Its realy pretty cool this AJAX concept and for chat systems you cannot get better.

Hope it helps.

Ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Old 01-04-2006, 01:40 PM
Junior Talker

Posts: 1
Trades: 0
I wrote the chat tutorial at Dynamic AJAX, and you could modify it to use a flat file or XML file fairly easily. I would recommend using an XML file, then you can just add messages to it programmatically using the XMLDOM. The only work that you would have to do would be on the back end PHP file, and everything else should just work.

You might run into a little tedious logic trying to figure out the last message the user recieved and pulling apart the rest. But it shouldn't be too bad using the XMLDOM.

Let me know if you have any questions.
__________________

Please login or register to view this content. Registration is FREE
RyanSmith is offline
Reply With Quote
View Public Profile Visit RyanSmith's homepage!
 
Old 01-05-2006, 09:11 AM
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
Ive been extending it "time permitting to facilitiate multiple rooms" (had some success too.

Its no where near ready to go live or anything but as a little project it passes the hours nicely.

Ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Reply     « Reply to A Simple Javascript Chat Script ... or PHP
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19985 seconds with 12 queries