Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread Bastien Koert

js rotating banner system

http://www.dyn-web.com/dhtml/banners/

bastien



From: <[EMAIL PROTECTED]>
To: 
CC: <[EMAIL PROTECTED]>
Subject: Re: [PHP-DB] Refreshing text question!
Date: Wed, 18 Jan 2006 11:26:15 -0500

Ooops... here's the real link:

http://rajshekhar.net/blog/archives/85-Rasmus-30-second-AJAX-Tutorial.html



= = = Original message = = =

Two ways I can think of to update part of a page without doing a full 
refresh:


1. Use an IFRAME so you're technically updating a page, but it's the page 
within the frame (not my favorite but works ok)


2. Or you can use asynchronous javascript (AJAX) to update just that one 
section of the page without doing a refresh.  Here's Rasmus' great primer 
on AJAX, should be easy enough to follow:


http://www.time.gov/timezone.cgi?Eastern/d/-5/java

One note I'd like to make that doesn't seem to be mentioned in a lot of 
AJAX tutorials.  If the page your AJAX is calling doesn't have the standard 
"do not cache" tags, you sometimes won't get the results you want.. 
especially with Internet Explorer (in my experience).


Here's a block I copy/pasted from somewhere that seems to work fine (covers 
most of the bases and all):


header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always 
modified

header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0

good luck!

-TG

= = = Original message = = =

Hi,

  No, no that is not what i am after, I know how to do that but it's not 
what I want.


  I wrote some code a year or so ago with words, they refreshed every 5 or 
so seconds WITHOUT REFRESHING THE PAGE.  It was written in JavaScript as i 
can remember.  But I can't find where I did it. I want to have the code or 
a similar one without the need to re-write it.


  The code does not require the page refreshing at all, just loops in a 
script and outputs.  I might have to do some web surfing on it, pity I 
can't remeber where it is.


  If anyone could help that would be great.

  It's for a PHP site using MySQL.  I am considering having the slogans in 
a database this time rather than just a text file.


  J

Julien Bonastre <[EMAIL PROTECTED]> wrote:
  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:




will refresh page in 10 seconds


  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 ;-)


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread tg-php
Ooops... here's the real link:

http://rajshekhar.net/blog/archives/85-Rasmus-30-second-AJAX-Tutorial.html



= = = Original message = = =

Two ways I can think of to update part of a page without doing a full refresh:

1. Use an IFRAME so you're technically updating a page, but it's the page 
within the frame (not my favorite but works ok)

2. Or you can use asynchronous javascript (AJAX) to update just that one 
section of the page without doing a refresh.  Here's Rasmus' great primer on 
AJAX, should be easy enough to follow:

http://www.time.gov/timezone.cgi?Eastern/d/-5/java

One note I'd like to make that doesn't seem to be mentioned in a lot of AJAX 
tutorials.  If the page your AJAX is calling doesn't have the standard "do not 
cache" tags, you sometimes won't get the results you want.. especially with 
Internet Explorer (in my experience).

Here's a block I copy/pasted from somewhere that seems to work fine (covers 
most of the bases and all):

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always 
modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0

good luck!

-TG

= = = Original message = = =

Hi,
   
  No, no that is not what i am after, I know how to do that but it's not what I 
want.
   
  I wrote some code a year or so ago with words, they refreshed every 5 or so 
seconds WITHOUT REFRESHING THE PAGE.  It was written in JavaScript as i can 
remember.  But I can't find where I did it. I want to have the code or a 
similar one without the need to re-write it.  
   
  The code does not require the page refreshing at all, just loops in a script 
and outputs.  I might have to do some web surfing on it, pity I can't remeber 
where it is.
   
  If anyone could help that would be great.
   
  It's for a PHP site using MySQL.  I am considering having the slogans in a 
database this time rather than just a text file.
   
  J

Julien Bonastre <[EMAIL PROTECTED]> wrote:
  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:


  

will refresh page in 10 seconds


  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 ;-)


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread tg-php
Two ways I can think of to update part of a page without doing a full refresh:

1. Use an IFRAME so you're technically updating a page, but it's the page 
within the frame (not my favorite but works ok)

2. Or you can use asynchronous javascript (AJAX) to update just that one 
section of the page without doing a refresh.  Here's Rasmus' great primer on 
AJAX, should be easy enough to follow:

http://www.time.gov/timezone.cgi?Eastern/d/-5/java

One note I'd like to make that doesn't seem to be mentioned in a lot of AJAX 
tutorials.  If the page your AJAX is calling doesn't have the standard "do not 
cache" tags, you sometimes won't get the results you want.. especially with 
Internet Explorer (in my experience).

Here's a block I copy/pasted from somewhere that seems to work fine (covers 
most of the bases and all):

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always 
modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0

good luck!

-TG

= = = Original message = = =

Hi,
   
  No, no that is not what i am after, I know how to do that but it's not what I 
want.
   
  I wrote some code a year or so ago with words, they refreshed every 5 or so 
seconds WITHOUT REFRESHING THE PAGE.  It was written in JavaScript as i can 
remember.  But I can't find where I did it. I want to have the code or a 
similar one without the need to re-write it.  
   
  The code does not require the page refreshing at all, just loops in a script 
and outputs.  I might have to do some web surfing on it, pity I can't remeber 
where it is.
   
  If anyone could help that would be great.
   
  It's for a PHP site using MySQL.  I am considering having the slogans in a 
database this time rather than just a text file.
   
  J

Julien Bonastre <[EMAIL PROTECTED]> wrote:
  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:


  

will refresh page in 10 seconds


  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 ;-)


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread Bastien Koert
google 'rotating banner ad'...basically you hide stuff in divs/layers and 
show and hide the layers on a set timeout function with js


bastien



From: JeRRy <[EMAIL PROTECTED]>
To: Julien Bonastre <[EMAIL PROTECTED]>, php-db@lists.php.net
Subject: Re: [PHP-DB] Refreshing text question!
Date: Wed, 18 Jan 2006 23:41:02 +1100 (EST)

Hi,

  No, no that is not what i am after, I know how to do that but it's not 
what I want.


  I wrote some code a year or so ago with words, they refreshed every 5 or 
so seconds WITHOUT REFRESHING THE PAGE.  It was written in JavaScript as i 
can remember.  But I can't find where I did it. I want to have the code or 
a similar one without the need to re-write it.


  The code does not require the page refreshing at all, just loops in a 
script and outputs.  I might have to do some web surfing on it, pity I 
can't remeber where it is.


  If anyone could help that would be great.

  It's for a PHP site using MySQL.  I am considering having the slogans in 
a database this time rather than just a text file.


  J

Julien Bonastre <[EMAIL PROTECTED]> wrote:
  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:




will refresh page in 10 seconds


  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
[EMAIL PROTECTED]
www.the-spectrum.org --oOo---oOo--
- Original Message -
From: "JeRRy"
To:

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





-
Do you Yahoo!?
  Find a local business fast with Yahoo! Local Search


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread JeRRy
Hi,
   
  No, no that is not what i am after, I know how to do that but it's not what I 
want.
   
  I wrote some code a year or so ago with words, they refreshed every 5 or so 
seconds WITHOUT REFRESHING THE PAGE.  It was written in JavaScript as i can 
remember.  But I can't find where I did it. I want to have the code or a 
similar one without the need to re-write it.  
   
  The code does not require the page refreshing at all, just loops in a script 
and outputs.  I might have to do some web surfing on it, pity I can't remeber 
where it is.
   
  If anyone could help that would be great.
   
  It's for a PHP site using MySQL.  I am considering having the slogans in a 
database this time rather than just a text file.
   
  J

Julien Bonastre <[EMAIL PROTECTED]> wrote:
  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:


  

will refresh page in 10 seconds


  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 
[EMAIL PROTECTED] 
www.the-spectrum.org --oOo---oOo-- 
- Original Message - 
From: "JeRRy" 
To: 

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

  



-
Do you Yahoo!?
  Find a local business fast with Yahoo! Local Search

Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread Jeffrey
Well, somebody's got to say it: that question has nothing to do with PHP 
and MySQL, which are server side.


I suggest you Google "free javascript" and you will find dozens of sites 
offering free java scripts. Many of them will have text/text banner 
offerings that do what you want to do.


Good luck,

Jeffrey

JeRRy wrote:


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
 



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread Julien Bonastre

And in response, i was sort of heading there with my response..

Checkout my sexy 'quotes' engine on www.operation-scifi.com


At bottom of page, there's a link "HOVER ON THIS LINK (Click to change 
quote)"


click it to see the wowness effect

Implementing this with a timeout function of JS is quite easy too..



Anyway, back to work for me..


---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 
[EMAIL PROTECTED] 
www.the-spectrum.org --oOo---oOo-- 
- Original Message - 
From: "Julien Bonastre" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, January 18, 2006 8:08 PM
Subject: Re: [PHP-DB] Refreshing text question!



Sorry I had misinterpreted your question Jerry..

I thought you were trying to refresh the page, missed that keyword :-)


Therefore in context the page refresh would be quite annoying, I was 
only introducing its concept in order to reload the page at a 
different location.



Again, my apologies for this..


Kind Regards,
 Julien Bonastre



- Original Message - 
From: "Aaron Koning" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, January 18, 2006 5:47 PM
Subject: Re: [PHP-DB] Refreshing text question!


I think that refreshing the web page with META Refresh every 5 or 10 
seconds

would surly P.O. anyone actually trying to read your web pages.

Anyways:
http://www.webreference.com/js/column3/

Or try googling the topic...

Aaron


On 1/17/06, Julien Bonastre <[EMAIL PROTECTED]> wrote:


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:




will refresh page in 10 seconds


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
[EMAIL PROTECTED]
www.the-spectrum.org --oOo---oOo--
- Original Message -----
From: "JeRRy" <[EMAIL PROTECTED]>
To: 
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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php









No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 
18/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


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.14.

Re: [PHP-DB] Refreshing text question!

2006-01-18 Thread Julien Bonastre

Sorry I had misinterpreted your question Jerry..

I thought you were trying to refresh the page, missed that keyword :-)


Therefore in context the page refresh would be quite annoying, I was 
only introducing its concept in order to reload the page at a different 
location.



Again, my apologies for this..


Kind Regards,
 Julien Bonastre



- Original Message - 
From: "Aaron Koning" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, January 18, 2006 5:47 PM
Subject: Re: [PHP-DB] Refreshing text question!


I think that refreshing the web page with META Refresh every 5 or 10 
seconds

would surly P.O. anyone actually trying to read your web pages.

Anyways:
http://www.webreference.com/js/column3/

Or try googling the topic...

Aaron


On 1/17/06, Julien Bonastre <[EMAIL PROTECTED]> wrote:


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:




will refresh page in 10 seconds


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
[EMAIL PROTECTED]
www.the-spectrum.org --oOo---oOo--
- Original Message -
From: "JeRRy" <[EMAIL PROTECTED]>
To: 
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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php









No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 
18/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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Refreshing text question!

2006-01-17 Thread Aaron Koning
I think that refreshing the web page with META Refresh every 5 or 10 seconds
would surly P.O. anyone actually trying to read your web pages.

Anyways:
 http://www.webreference.com/js/column3/

Or try googling the topic...

Aaron


On 1/17/06, Julien Bonastre <[EMAIL PROTECTED]> wrote:
>
> 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:
>
>
> 
>
> will refresh page in 10 seconds
>
>
>  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
> [EMAIL PROTECTED]
> www.the-spectrum.org --oOo---oOo--
> - Original Message -
> From: "JeRRy" <[EMAIL PROTECTED]>
> To: 
> 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
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Re: [PHP-DB] Refreshing text question!

2006-01-17 Thread Julien Bonastre

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:




will refresh page in 10 seconds


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 
[EMAIL PROTECTED] 
www.the-spectrum.org --oOo---oOo-- 
- Original Message - 
From: "JeRRy" <[EMAIL PROTECTED]>

To: 
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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Refreshing text question!

2006-01-17 Thread JeRRy
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