Hi all. Is it possible with PHP to initiate a popup window on a specific users pc. I have a DB with a users table which shows who is logged in or not. I would like to click on a logged in user link and initiate a chat frame on their window. Is this possible with PHP or should I just stick with jsp. Any help would be awesome.
Tracy๐Ÿ™‚

    nikko50 wrote:

    Hi all. Is it possible with PHP to initiate a popup window on a specific users pc. I have a DB with a users table which shows who is logged in or not. I would like to click on a logged in user link and initiate a chat frame on their window. Is this possible with PHP or should I just stick with jsp. Any help would be awesome.
    Tracy๐Ÿ™‚

    To achieve this I think you'd need to use applets or maybe flash, or javascript on the client that polls the server at a frequent interval to see if someone is initiating a chat with the user. Because of the nature of HTTP you can't do this in PHP. Once the server has finished sending the data to the client the communication is broken off. Only by using client side scripting to create and maintain a constant connection to the server can you accomplish something like what you outlined here.

    Good luck,

    Ryan

      Write a Reply...