Re: [PHP] CHAT about PHP

2003-08-20 Thread Curt Zirzow
* Thus wrote Damian Brown ([EMAIL PROTECTED]): www.phpexpert.org Programming Help and General Programming Topics Is this a joke? Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] CHAT about PHP

2003-08-20 Thread Damian Brown
no Curt it is quite serious Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Damian Brown ([EMAIL PROTECTED]): www.phpexpert.org Programming Help and General Programming Topics Is this a joke? Curt -- I used to think I was indecisive, but now I'm

Re: [PHP] CHAT about PHP

2003-08-20 Thread Robert Cummings
On Wed, 2003-08-20 at 11:11, Curt Zirzow wrote: * Thus wrote Damian Brown ([EMAIL PROTECTED]): www.phpexpert.org Programming Help and General Programming Topics Is this a joke? Looks like an email harvester. Why does it need an email address? Cheers, Rob. --

Re: [PHP] CHAT about PHP

2003-08-20 Thread David Otton
On 20 Aug 2003 11:31:02 -0400, you wrote: On Wed, 2003-08-20 at 11:11, Curt Zirzow wrote: * Thus wrote Damian Brown ([EMAIL PROTECTED]): www.phpexpert.org Programming Help and General Programming Topics Is this a joke? Looks like an email harvester. Why does it need an email address?

Re: [PHP] CHAT about PHP

2003-08-20 Thread P.Agenbag
Sites like these will drive me to ASP... On Wed, 2003-08-20 at 17:39, David Otton wrote: On 20 Aug 2003 11:31:02 -0400, you wrote: On Wed, 2003-08-20 at 11:11, Curt Zirzow wrote: * Thus wrote Damian Brown ([EMAIL PROTECTED]): www.phpexpert.org Programming Help and General

Re: [PHP] CHAT about PHP

2003-08-20 Thread Ernest E Vogelsinger
You can program a site as complicated as this in ASP as well *g* At 18:19 20.08.2003, P.Agenbag said: [snip] Sites like these will drive me to ASP... On Wed, 2003-08-20 at 17:39, David Otton wrote: On 20 Aug 2003 11:31:02 -0400, you wrote: On Wed,

Re: [PHP] Chat with php

2002-10-08 Thread Oliver Witt
Thomas Weber schrieb: Hi, i'm running a selfmade PHP-chat since one and a half year, currently version 3. Maybe we can share some ideas The image-idea is interesting, but would take heavy bandwith i think. My chat runs over a simple dsl-line with 256kbit upstream, there are up to 50

Re: [PHP] Chat with php

2002-10-08 Thread Thomas Weber
: Tuesday, October 08, 2002 10:51 AM Subject: Re: [PHP] Chat with php Hey cool, That's working. The only problem I have now is that I want the most recent text at the top. But that script adds it on the bottom. Any way to change that? At least a way to always scroll automatically to the bottom? Cya

Re: [PHP] Chat with php

2002-10-08 Thread Oliver Witt
Thomas Weber schrieb: I've thought about adding the text on the top, but never found a good way to make that (not with plain HTML, it would require a java-applet to display the stream). Scrolling is quite simple, i use this: head SCRIPT language=JavaScript !-- doscroll = true;

Re: [PHP] Chat with php

2002-10-07 Thread Robert Cummings
You can have your script enter a loop to check for data in a database. If data output it then calls the flush() function to output to the browser. Then sleep for some time, then wakeup and repeat. You may have issues with some browsers using this technique, but generally it does work. The key is

Re: [PHP] Chat with php

2002-10-07 Thread Marco Tabini
But, Robert, doesn't this technique leave a connection open on the server--and, won't it cause the server to run out of resources after a very finite number of connections has been established? Marco On Mon, 2002-10-07 at 14:07, Robert Cummings wrote: You can have your script enter a loop to

RE: [PHP] Chat with php

2002-10-07 Thread Brad Dameron
To: Oliver Witt Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Chat with php You can have your script enter a loop to check for data in a database. If data output it then calls the flush() function to output to the browser. Then sleep for some time, then wakeup and repeat. You may have issues

Re: [PHP] Chat with php

2002-10-07 Thread Marco Tabini
Simple trick (well, not so simple, but kind of a Columbus' Egg): 1) Create an img tag in your web page that is hidden 2) Point the img tag to a php script that returns: 1) An image with a pixel width of 1 if there is new data to pick up from the server 2) An image

Re: [PHP] Chat with php

2002-10-07 Thread Oliver Witt
Brad Dameron schrieb: Another way is to use javascript with PHP to pull the database every so many seconds. I have seen this in I think it was PHPChat. Been a long time however. Well, that's pretty much how I've done it. And it is pretty crappy... Olli -- PHP General Mailing List

Re: [PHP] Chat with php

2002-10-07 Thread Marco Tabini
Oliver-- I'm afraid I wasn't too clear! If you do it the way I'm suggesting, your page will look like it's reloading ONLY when there is new data available, and not continuously. PHPChat is an example--it looks really good and doesn't do any of the annoying things that reloading the page usually

Re: [PHP] Chat with php

2002-10-07 Thread Oliver Witt
Marco Tabini schrieb: Simple trick (well, not so simple, but kind of a Columbus' Egg): 1) Create an img tag in your web page that is hidden 2) Point the img tag to a php script that returns: 1) An image with a pixel width of 1 if there is new data to pick up from the

Re: [Fwd: Re: [PHP] Chat with php]

2002-10-07 Thread Oliver Witt
Marco Tabini schrieb: Ok, off the top of my head (please don't be upset if it doesn't work right off, because I'm doing this from memory): Web page: script language=javascript function checkimage() { if (document.all.image1.width == 1) {

Re: [PHP] chat with php

2001-09-25 Thread Michael Kimsal
Edney Marcel Imm wrote: HI. Anyone have a chat with php? tks ME: Hello PHP PHP: Hello M: How are you? P: Tell me more about you. M: I'm just a guy living in Michigan P: Are you sure? M: Yes P: How does that make you feel? M: I dunno... Sorry - I couldn't resist. Visions of old ELIZA