IFrames have their issues cause they're meant to be separate documents; making the documents interact is the challenge. But I think you're going to have to use some sort of HTTP Streaming [ http://ajaxpatterns.org/HTTP_Streaming] to get it to receive messages interactively. You can use IFrames like the other project, periodic Ajax pings, or a Comet framework [http://en.wikipedia.org/wiki/Comet_(programming)<http://en.wikipedia.org/wiki/Comet_%28programming%29> ]. There may be other methods, but those are all I've heard of. As for Jabber, you may want to take a look at XMPP: http://www.xmpp.org/ It's the XML protocol and standards behind all Jabber development. Also, you may try their Social mailing list: http://www.jabber.org/discussion-lists The entire purpose of the list is for helping enable Jabber in social network sites. Although, your discussion will probably need to be split up, since questions about using Jabber in PHP generally belong on their JDev list. - Jon L. On Sun, May 4, 2008 at 12:46 PM, Richard Heyes <richardh@xxxxxxxxxxx> wrote: > well, good example. but, it is not very convenient. i saw the code, it > > used > > iframe and refreshing the page using meta tags. but, this method doesn't > > work on all browser. if i am not > > mistaken have problem with IE browser. > > > > Well it's just an example, but you could use multiple methods of > refreshing the page to try and catch more browsers, eg. the Refresh: header, > Javascript etc. It uses an IFRAME so that when the page is refreshed it > doesn't lose whatever the user may have typed into the form. Plus the > progress bar "flashing" is irritating, though I believe that could be > removed by using AJAX to drag down the latest page instead of refreshing the > whole page. > > > -- > Richard Heyes > > +----------------------------------------+ > | Access SSH with a Windows mapped drive | > | http://www.phpguru.org/sftpdrive | > +----------------------------------------+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >