remenissions
-
Posts
53 -
Joined
-
Last visited
Posts posted by remenissions
-
-
I created had created a website between me and a couple friends. On the website I made an Ajax\Javascript\Php Instant Messenger. It works fine for something small. Each user has a contact list and currently I am saving each individual conversation between each user into an Sql table { senderId, RecieverId, Message } and reading it back. Now I know its no problem for something small but obviously it leaves security risks and sends too many requests to the server. Any of you guys have any alternative Idea's for this messenger? I don't necessary need to save the conversations, I'm simply using that method to send and receive them. I have a buddy who does his messenger through J.S sockets but I would like to keep to php if possible. Any comments or suggestions would be much appreciated.
Uploaded with ImageShack.us
Messenger Sql Alternatives.
in PHP Coding Help
Posted
Thank you for your response, yeah I realise i'm going to have to code against sql injections and stuff still I haven't gotten that far with the project yet. Atm i have it recieving all the data between the two users every 300ms. What do you think?