Pls if you have the experience on how to code this 1to1 chat/1on1 chat/ instant chat/standalone chat. Pls post how to do it code. I only need how to carry/process the coding and any other that need it on their site will code it on his/her own. Pls just enlight us how to coding. I cant only code public chat and i have think so many time on how to it, i get confused on my way
1to1 chat/1on1 chat/ instant chat/standalone chat
Collapse
X
-
Instant chat like pm
Originally posted by kei_ki7 View PostAre you referring with Instant Message?
I think you need a server for that
Btw facebook chat runs with Comet and JSON
Comment
-
Originally posted by frostymarvelous View PostYour best bet is to use ajax with 30 minute check intervals.
There is noting hard in 1 to 1 chat, if its open then session/cookie is the way to go, if its a reg/login system then its even easier fetch message then join ids or select where id equal senders id matching recpt id
Comment
-
I only need ur idia
Originally posted by syrus View Postare you serious? who wolud stay in a chat and wait 30mns for new message/notification.
There is noting hard in 1 to 1 chat, if its open then session/cookie is the way to go, if its a reg/login system then its even easier fetch message then join ids or select where id equal senders id matching recpt id
Comment
-
Originally posted by razzbee View PostIts simple,create a table with the two user ids,then a date and message column.and use ajax to refresh the messages every 15sec,
when simple
PHP Code:echo '<meta http-equiv="refresh" content="15" />';
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
Originally posted by razzbee View PostIts simple,create a table with the two user ids,then a date and message column.and use ajax to refresh the messages every 15sec,
Comment
Comment