Re: Refreshing

From: Date: Mon, 30 Jun 2003 17:50:04 +0000
Subject: Re: Refreshing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153444@lists.php.net to get a copy of this message
1. This way would probably end up sending out 500 little clicks every minute...so... Could any client side script do this like JavaScript? I doubt it could but just a question. With bubblegum in my shoe, Stephen Craton Senior Executive Web Developer Mophus.com, Inc. ----- Original Message ----- From: "Jay Blanchard" <jay.blanchard@niicommunications.com> To: "Stephen" <webmaster@melchior.us>; "PHP List" <php-general@lists.php.net> Sent: Monday, June 30, 2003 12:41 PM Subject: RE: [PHP] Refreshing [snip] I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10 seconds or so. How could I get the script to refresh only when there is a new entry into the database table? Also, this may not be PHP but...does anyone know how to stop the annoying click on Internet Explorer when something refreshes? [/snip] 1. Nope, not with PHP. Well, you could but it would require a script running in a loop in the background, checking for new data, then calling a header redirect of some sort. That is kludgy and would require the looping doohickey for each conversation within the chat. 2. You can disable sounds in a themes thingie, depends on which windoze version you own. HTH! Jay

« previous php.general (#153444) next »