Re: Text/Image Streaming in PHP for a web chat application
| From: | John Nichel | Date: | Wed, 19 May 2004 21:00:10 +0000 |
| Subject: | Re: Text/Image Streaming in PHP for a web chat application | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186558@lists.php.net to get a copy of this message | ||
Stephen Lake wrote:
Hey all, After reviewing all the scripts written for a web chat application at the various sites (ie Hotscripts, cgi resource and so on) I have resorted to writing my own as none available fit my specific requirements. What I need to know is, how can I implement a server push alternative and/or text stream to a browser? or for that matter if anyone has code available or knows of code that is even remotely similar to IFCS (Interfun Chat Server http://www.interfun.com) they would be willing to share with me would be greatly appreciated.I've played around with this a couple of times. Once using sockets, and another time just setting the max_execution_time of the script in the bottom frame to some ungodly size, running a loop which checks for new messages after sleeping for 10 seconds or so. It turned out to be more of a pain than it was going to be worth. If you come across something that has the look and feel of Chatropolis, but doesn't cost $1500, I'm interested. BTW, it's http://www.interfun.net -- John C. Nichel KegWorks.com 716.856.9675 john@kegworks.com