Asheeown Posted November 13, 2008 Share Posted November 13, 2008 This is just a general question. Is it possible to make a realtime php script, like for instance a shoutbox that will display messages as they are posted. That's just an example, not what I really intend to do. Link to comment https://forums.phpfreaks.com/topic/132637-php-realtime/ Share on other sites More sharing options...
rhodesa Posted November 13, 2008 Share Posted November 13, 2008 To have a 'realtime' app like that you need a mesh of javascript and server side language (like PHP). Really, it's not supported by browsers, but people have come up with workarounds to fool the browser. Check out: http://en.wikipedia.org/wiki/Comet_(programming) http://orbited.org/ Link to comment https://forums.phpfreaks.com/topic/132637-php-realtime/#findComment-689750 Share on other sites More sharing options...
Mark Baker Posted November 13, 2008 Share Posted November 13, 2008 This is just a general question. Is it possible to make a realtime php script, like for instance a shoutbox that will display messages as they are posted. That's just an example, not what I really intend to do. True realtime... not via http, but it should be possible to write genuine real-time apps using CLI. A shoutbox doesn't really qualify as real-time. Link to comment https://forums.phpfreaks.com/topic/132637-php-realtime/#findComment-689753 Share on other sites More sharing options...
Asheeown Posted November 13, 2008 Author Share Posted November 13, 2008 The real reason I want to use something like this can get confusing, which is why I don't like to type it out, I guess I'll try to be as clear as possible. I need an app that receives information from a telnet server and displays it on the screen, with options to send commands back to the telnet server. It is basically like chatting with the server and I want to do it in realtime so I can have a full log of all messages instead of restarting the socket connection over and over again to send commands. I don't know if that is clear enough but Rhodesa I am looking into that Orbited site, it looks pretty neat, I will definitely be doing some research on that. Link to comment https://forums.phpfreaks.com/topic/132637-php-realtime/#findComment-689758 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.