Reply to Re: [PHP] auto refresh once

Your name:

Reply:


Posted by Devraj Mukherjee on 03/02/05 10:15

Hi Will,

Automatic refresh can be achieved by the use of a META tag. The meta tag
looks like the following, where the 5 is the number of seconds, the
URL is obviously the page.

<meta http-equiv=REFRESH CONTENT="5; URL=http://www.url.com/">

To refresh all you do is send the META tag out as part of the output the
first time and dont do it the second time. So the first time you call
the page use a variable in request such as ?refresh=true and only output
the META tag if refresh in the $_REQUEST array is set to true.

Hope this helps
Devraj

William Stokes wrote:
> Hello,
>
> Is it possible to force one automatic refresh browser when user enters to a
> webpage? If so, how?
>
> Thanks
> -Will
>


--
Devraj Mukherjee (devraj@eternitytechnologies.com)
Eternity Technologies Pty. Ltd. ACN 107 600 975
P O Box 5949 Wagga Wagga NSW 2650 Australia
Voice: +61-2-69717131 / Fax: +61-2-69251039
http://www.eternitytechnologies.com/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация