Is there a way in php to have an element in a page communicate with the server and be modified (like a changing image or a stock ticker) without reloading the page? I know with IIS you could do something like that but I don't know about doing it with Apache and PHP. Is a java applet the only way to implement something like that?

    if you mean changing a value without any reload then yues you need an activeX or an applet to open a socket and query a server...

    You can hide it cleverly though using a borderless iframe and set a meta refresh in script

      Thank you. I did not think using a java aplet to modify the actual page.

      I was planning on making site chat for my users. I think I will use a cron job to act as the server and the java aplet to go with my client. I don't plan on having that many users on my site so I don't want to bother with using IRC. If anyone could point out some good articles I would appriciete it.

      Thanks again.

        Write a Reply...