Posted by Lenard Redwood on 10/02/06 16:15
I'd like to create a simple chat application that will leave the
connection open for a minute and then restart the connection to the
server to push data. I plan to use temporary .txt files to store
messages. My question is how can I do that in PHP 5, what techniques
should I do server-side to keep this connection open and how would be
the flow of the message? Do I need a different technology such as
Python to handle messages?
1. User A sends a message to the server
2. ?
3. User B receives the message instantly through an open connection
Any tip/link/tutorial would be greatly appreciated.
Thanks,
Lenard.
[Back to original message]
|