Re: Refreshing text question!

From: Date: Wed, 18 Jan 2006 05:39:41 +0000
Subject: Re: Refreshing text question!
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-41049@lists.php.net to get a copy of this message
Yes I can help you there.. There is a technique you can use which is actually more "browser" friendly then the Javascript alternative you mentioned.. You can use the META tags in your page as such: <META HTTP-EQUIV="refresh" CONTENT="10"> will refresh page in 10 seconds <META HTTP-EQUIV="refresh" CONTENT="10;url=http://www.operation-scifi.com"> will reload page in 10 seconds and direct browser to one of my first highschool webpages.. For a quick reference I found this via the I'm Feeling Lucky of Google: http://webdesign.about.com/cs/metatags/a/aa080300a.htm Otherwise the good ole' W3C at www.w3c.org will have some great doco's on it too enjoy ;-) ---oOo--- Allowing users to execute CGI scripts in any directory should only be considered if: ... a.. You have no users, and nobody ever visits your server. ... Extracted Quote: Security Tips - Apache HTTP Server ---oOo--- ------oOo---------------oOo------ Julien Bonastre [The_RadiX] The-Spectrum Network CEO ABN: 64 235 749 494 julien@the-spectrum.org www.the-spectrum.org ------oOo---------------oOo------ ----- Original Message ----- From: "JeRRy" <jusa_98@yahoo.com> To: <php-db@lists.php.net> Sent: Wednesday, January 18, 2006 11:51 AM Subject: [PHP-DB] Refreshing text question!
Hi, I did a little bit of script that refreshes a text slogan every 5 or so seconds with a new slogans and wraps to each slogan, I had about 5, and loops over and over again. This was done WITHOUT the need of refreshing the page. I think I used JavaScript but not 100% sure of this. Has anyone seen this before I seen a site use it? I can't recall the site I did it for, I know I have done it before. I need the code again without needing to re-do it all again as it took me a while to configure it last time. The site is written in PHP and uses MySQL. Any help would be mostly appreciated. J --------------------------------- Do you Yahoo!? Messenger 7.0: Free worldwide PC to PC calls
--------------------------------------------------------------------------------
Incoming mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.148 / Virus Database: 267.14.20 - Release Date: 17/01/2006
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 18/01/2006

« previous php.db (#41049) next »