RE: [PHP] PHP Chat REALTIME

2002-01-23 Thread Andrew Chase
> -Original Message- > From: Joffrey van Wageningen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 22, 2002 7:35 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP Chat REALTIME > > the real problem is how to get the data to the client without > use of a soc

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Rodolfo Gonzalez
On Tue, 22 Jan 2002, Joffrey van Wageningen wrote: > socket to the server (read: the php script running). the only realy useful > language is javascript becouse flash and java are not portable on some > platforms. the next problem is javascript isnt able (for security reasons) > to open a socket t

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Joel Boonstra
> I need to build a php-chat (online support system), but in realtime. > I've develope a system that refresh in browser client in 5 seconds. But > i need a system that works in realtime, what i meen is when a client or > the server send a message, the browser refresh when a message was sent. > All

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Joffrey van Wageningen
> i haven't been following this, but have you guys thought of ircg? > http://php.net/ircg ircg is a lot of fun and could be used as the server system for message management, the real problem is how to get the data to the client without use of a socket ircg also needs an ircd which is a little t

RE: [PHP] PHP Chat REALTIME

2002-01-22 Thread James Cox
Ok, i haven't been following this, but have you guys thought of ircg? http://php.net/ircg James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PRO

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Bogdan Stancescu
> the 'smarter' way would be having a client side programming language open a > socket to the server (read: the php script running). the only realy useful > language is javascript becouse flash and java are not portable on some > platforms. the next problem is javascript isnt able (for security re

[PHP] PHP Chat REALTIME

2002-01-22 Thread Joffrey van Wageningen
i forgot to mention in my last code sniplet: just run the script (maybe touch a new file in /tmp and give it readwrite rights)... you will have a run for 30 seconds (the php timeout) if you want to add a line edit the file manualy or use the sniplet: sniplet.php?new=mynewline :) -- PHP Gene

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Joffrey van Wageningen
> > > I dont think its possible without Java programing. > > its posible to keep a http connection open and trust on flush() to send some > > data to the client, if this data contains javascript you could update a > > window or something... if you want to make this safe: make sure you use a > > c

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Bogdan Stancescu
I've been kidding around with a chat experiment of my own a few weeks ago and stumbled in the same problem with refresh, so I'm quite interested in this discussion. So, ok, I didn't know about flush() at all, but how do you keep the http connection open in the first place? Just keep looping in the

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Joffrey van Wageningen
> I dont think its possible without Java programing. its posible to keep a http connection open and trust on flush() to send some data to the client, if this data contains javascript you could update a window or something... if you want to make this safe: make sure you use a combination of a open

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Ben-Nes Michael
- From: "Nuno Mariz" <[EMAIL PROTECTED]> To: "Ben-Nes Michael" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 1:02 PM Subject: Re: [PHP] PHP Chat REALTIME That was not the problem, i need something that keep the conection betwe

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Nuno Mariz
Surfing Ltd. > Internet Service Providers > Ben-Nes Michael - Manager > Tel: 972-4-6991122 > http://sites.canaan.co.il > -- > > - Original Message - > From: "Nuno Mariz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> &

Re: [PHP] PHP Chat REALTIME

2002-01-22 Thread Ben-Nes Michael
<[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 12:32 PM Subject: [PHP] PHP Chat REALTIME > I need to build a php-chat (online support system), but in realtime. > I've develope a system that refresh in browser client in 5 seconds. But > i need a system that works in realtim

[PHP] PHP Chat REALTIME

2002-01-22 Thread Nuno Mariz
I need to build a php-chat (online support system), but in realtime. I've develope a system that refresh in browser client in 5 seconds. But i need a system that works in realtime, what i meen is when a client or the server send a message, the browser refresh when a message was sent. All this with