Jump to content

hello-need advice


DanDaBeginner

Recommended Posts

hello,

I need advice on this one:

 

im planning to have an instant messaging on my site using AJAX, PHP and MYSQL... the flow is

-when the user logsin theres a AJAX request for every 30 seconds on check.php that connects to table_instant_messaging to know whether theres a request or not-if there is a request then a pop-up message will apprear to the recepient user with an option to accept or not

 

- in making a request - it will insert to the table_instant_messaging with the user_id of the requestor and with the user_id of the recepient and also the message field is included here..

 

1. now my question is - will the request of every 30 seconds on the table_instant_messaging can slow down the connection?

 

2.  regarding about the flow- is this the professional and traditinional way of handling this kind of system?

 

any help would be greatly appreciated.. thanks in advance..

Link to comment
https://forums.phpfreaks.com/topic/53376-hello-need-advice/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.