0

Hi and I remember reading in a really old topic that somebody here was able to write a chatroom without using mysql or any other database system. Can somebody explain how this is possible with just javascript and ajax? What I want to do is to have a script that won't record the conversation on the server but instead send the data directly between the client machines. I'm clueless on how to do this so can sombody please explain as I have already done the login and css.

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by cwarn23
1

I did it a while ago, but it used the file system to store messages.

To do what you are wanting you would need to use a php socket server and flash. I don't think its possible without those.

You might be able to create the socket server and then have ajax call a php script that queries the socket server for new messages.

Edited by somedude3488: n/a

Votes + Comments
Happy post 1,234
0

I did it a while ago, but it used the file system to store messages.

To do what you are wanting you would need to use a php socket server and flash. I don't think its possible without those.

You might be able to create the socket server and then have ajax call a php script that queries the socket server for new messages.

Happy post 1234 as shown in your post count and seems like it would be a hard one to create as flash is the devil. Also I haven't really used sockets and have a basic knowledge of flash and Java. I guess this one is a bit too advanced for me. So mysql it is. Thanks for the heads up anyways. :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.