Jump to content

PHP Realtime


Asheeown

Recommended Posts

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

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

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

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.